Solved

Autofilter advanced settings

Posted on 2013-02-06
3
160 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
3 Comments
 
LVL 49

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

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

Title # Comments Views Activity
Unable to open excel in 2016 is slow 4 21
Delete texts with font color 16 29
Help with Adding text from a form to a worksheet 5 35
Sum iF  based on a null cell 11 29
Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
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…

932 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

16 Experts available now in Live!

Get 1:1 Help Now