Solved

Autofilter advanced settings

Posted on 2013-02-06
3
178 Views
Last Modified: 2013-02-12
I have copied and pasted a whol block of text out of a PDF document into Excel (2010).

I need to autofilter certain rows of this text but I am having an issue. The text is seperated into pages that contain either CO1, CO11, CO111. So if I just want to list pages with CO1, if I use a text filter on contains "CO1", its also picking up the CO11, CO111" also. Is there anyway to just filter for CO1, to avoid CO11 and CO111.

In addition, is there anyway at all to use an autofilter, to show the rows containing your text filter, plus the row immediately below it. I.e. if I filter for all rows containing CO11, it would be useful for it to show those rows plus to row immediately below those rows. Is that possible?
0
Comment
Question by:pma111
[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 Comments
 
LVL 50

Accepted Solution

by:
Rgonzo1971 earned 167 total points
ID: 38858811
Hi,

With autofilter, you cannot find the next line, but to answer your first question, please do not use "contains" but "equals"

Regards
0
 
LVL 17

Assisted Solution

by:wobbled
wobbled earned 167 total points
ID: 38858959
You can create custom text searches under auto filter.  Just apply the filter and select text filters.  From there you can use the equals setting to make sure you only get what you want e.g. CO1
0
 
LVL 7

Assisted Solution

by:karunamoorthy
karunamoorthy earned 166 total points
ID: 38860263
for the first part use equals then that portion solves your problem partly and

for the second part,

>>>if I filter for all rows containing CO11, it would be useful for it to show those rows plus to row immediately below those rows.

I have a workaround solution(sample excel file attached here for your reference Pl.).

Try and give feedback pl.

Steps:
1. create 3 empty columns say A,B & C.
2. In column A, after filtering CO1, copy the cell A1 with 1.
3. Now in Column B, B2 cell copy the formula =IF(A1=1,1,0) and make the second row also
4. In column C, cell c1 use formula, =(B1+A1)
5. Now filter using column C with value as 1 and you will get the desired output.

I am attaching herewith the sample file I tried.

Have feedback Pl.
sample.xlsx
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
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.

749 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