Solved

Need help filtering an excel file

Posted on 2014-03-19
6
134 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
  • 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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 305 total points
ID: 39940173
Here's how I'd put the formulas in your sample
example.xlsx
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

910 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now