?
Solved

Need help filtering an excel file

Posted on 2014-03-19
6
Medium Priority
?
139 Views
Last Modified: 2014-03-28
I have a spreadsheet with many systems names in column A, but there are alot of duplicates. Problem these duplicates are there because in column B there are version numbers for each of the system names.

Now I need to remove any systems what have a version number of 17 and higher in column B, no these same system can have version numbers below 17, but is they have any numbers above 17, then I need to remove the system names completely regardless if they have version 17 and below.

I need to be left with system names that have version number 16 and below only.

Am I making sense. :)
0
Comment
Question by:rdefino
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 39

Expert Comment

by:nutsch
ID: 39939999
add a column with a formula like this:

=countifs(columnwithversionnumber,">=17",columnwithsystem,systemvalue)>0

e.g. if your version number is in column B and the system number in A, the formula in row 2 would be:

=countifs(B:B,">=17",A:A,A2)>0

and filter on true values

Thomas
0
 

Author Comment

by:rdefino
ID: 39940028
So i used formula =countifs(B:B,">=17",A:A,A2)>0

But i show true for all types f versions and fales for all types. Still the duplicate names exists.

Not sure if I did it right.

Should i use both formulas or just one.
0
 

Author Comment

by:rdefino
ID: 39940044
also, some of the version numbers show as below. we can rewove anything after the first octet.

20.0.1
3.6.17
25.0.1
19
21
23
23.0.1
25
27.0.1
3.6.17
3.6.17
3.6.17
3.6.17
0
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
LVL 39

Expert Comment

by:nutsch
ID: 39940145
OK, the easiest then is to add another column that will turn your version number into a main version number, with the following formula, and then use that column to check if the version number is above 17 or not.

=--LEFT(B2,IFERROR(FIND(".",B2)-1,LEN(B2)))

Thomas
0
 

Author Comment

by:rdefino
ID: 39940158
I added that in a column and the number 12 appeared. What does that mean? I tried it on a number of different version and it always shows 12.

I have attached and example of the spreadsheet that I'm working with.
example.xlsx
0
 
LVL 39

Accepted Solution

by:
nutsch earned 1220 total points
ID: 39940173
Here's how I'd put the formulas in your sample
example.xlsx
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question