Solved

Need help filtering an excel file

Posted on 2014-03-19
6
137 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
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

733 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