PC Review


Reply
Thread Tools Rate Thread

Advanced Filter for Text String

 
 
Daren
Guest
Posts: n/a
 
      24th Feb 2009
Hello,
I have text values in 2 columns of cells that contain the word Saturday in
any length of values...e.g, The First Saturday, That Saturday was Nice. I
want to be able to use an advanced filter to show any rows that contain the
word Saturday in both columns. How can I do this assuming that Saturday can
appear in columns D and E?
Thanks.
 
Reply With Quote
 
 
 
 
Stefi
Guest
Posts: n/a
 
      24th Feb 2009
Data>Autofilter>Choose Custom from drop down list>choose "contains" (last
option) Saturday
Repeat it for the other column!

Regards,
Stefi

„Daren” ezt *rta:

> Hello,
> I have text values in 2 columns of cells that contain the word Saturday in
> any length of values...e.g, The First Saturday, That Saturday was Nice. I
> want to be able to use an advanced filter to show any rows that contain the
> word Saturday in both columns. How can I do this assuming that Saturday can
> appear in columns D and E?
> Thanks.

 
Reply With Quote
 
Bob Umlas
Guest
Posts: n/a
 
      24th Feb 2009
If the column headers are in D1:E1, then somewhere where you have space, say
M1:M2, enter this formula in M2 leacing M1 blank:
=OR(NOT(ISERROR(FIND("Saturday",D2))),NOT(ISERROR(FIND("Saturday",E2))))
then use M1:M2 as your criteria cells in the advanced filter dialog.
Bob Umlas
Excel MVP

"Daren" <(E-Mail Removed)> wrote in message
news:4833B521-89E3-4D23-AC7D-(E-Mail Removed)...
> Hello,
> I have text values in 2 columns of cells that contain the word Saturday in
> any length of values...e.g, The First Saturday, That Saturday was Nice. I
> want to be able to use an advanced filter to show any rows that contain
> the
> word Saturday in both columns. How can I do this assuming that Saturday
> can
> appear in columns D and E?
> Thanks.



 
Reply With Quote
 
Daren
Guest
Posts: n/a
 
      24th Feb 2009
Thanks, that worked for one of the columns, but when I did it for the other
column, the combined function acted as an "and" statement that only filtered
rows that contained Saturday in both columns. I need the function to show all
rows that contain Saturday in either column D or E. How can I do that?

"Stefi" wrote:

> Data>Autofilter>Choose Custom from drop down list>choose "contains" (last
> option) Saturday
> Repeat it for the other column!
>
> Regards,
> Stefi
>
> „Daren” ezt *rta:
>
> > Hello,
> > I have text values in 2 columns of cells that contain the word Saturday in
> > any length of values...e.g, The First Saturday, That Saturday was Nice. I
> > want to be able to use an advanced filter to show any rows that contain the
> > word Saturday in both columns. How can I do this assuming that Saturday can
> > appear in columns D and E?
> > Thanks.

 
Reply With Quote
 
Stefi
Guest
Posts: n/a
 
      24th Feb 2009
In the meanwhile Bob gave a solution!
Stefi


„Daren” ezt *rta:

> Thanks, that worked for one of the columns, but when I did it for the other
> column, the combined function acted as an "and" statement that only filtered
> rows that contained Saturday in both columns. I need the function to show all
> rows that contain Saturday in either column D or E. How can I do that?
>
> "Stefi" wrote:
>
> > Data>Autofilter>Choose Custom from drop down list>choose "contains" (last
> > option) Saturday
> > Repeat it for the other column!
> >
> > Regards,
> > Stefi
> >
> > „Daren” ezt *rta:
> >
> > > Hello,
> > > I have text values in 2 columns of cells that contain the word Saturday in
> > > any length of values...e.g, The First Saturday, That Saturday was Nice. I
> > > want to be able to use an advanced filter to show any rows that contain the
> > > word Saturday in both columns. How can I do this assuming that Saturday can
> > > appear in columns D and E?
> > > Thanks.

 
Reply With Quote
 
Daren
Guest
Posts: n/a
 
      24th Feb 2009
Thanks, but it did not seem to work properly. I ented the formula as you
said by inserting two spacer columns in F and G. Then I entered the formula
like you stated below in column G and used that as the advanced filter
criteria. The formula returned FALSE even when Saturday appeared in those
cells. Then I broke the formula below into two separate columns where I
would need to find the word Saturday, with a header row in D1, the formula
=OR(NOT(ISERROR(FIND("Saturday",D6))) in cell D2. Then I entered another
header row in E1 and the formula =OR(NOT(ISERROR(FIND("Saturday",E6))). When
I used those as the criteria to search in the data set all rows were hidden.
What can be the problems here? Thanks again.

"Bob Umlas" wrote:

> If the column headers are in D1:E1, then somewhere where you have space, say
> M1:M2, enter this formula in M2 leacing M1 blank:
> =OR(NOT(ISERROR(FIND("Saturday",D2))),NOT(ISERROR(FIND("Saturday",E2))))
> then use M1:M2 as your criteria cells in the advanced filter dialog.
> Bob Umlas
> Excel MVP
>
> "Daren" <(E-Mail Removed)> wrote in message
> news:4833B521-89E3-4D23-AC7D-(E-Mail Removed)...
> > Hello,
> > I have text values in 2 columns of cells that contain the word Saturday in
> > any length of values...e.g, The First Saturday, That Saturday was Nice. I
> > want to be able to use an advanced filter to show any rows that contain
> > the
> > word Saturday in both columns. How can I do this assuming that Saturday
> > can
> > appear in columns D and E?
> > Thanks.

>
>
>

 
Reply With Quote
 
Shane Devenshire
Guest
Posts: n/a
 
      24th Feb 2009
Hi,

Try this

Title1 Title2
*Saturday*
*Saturday*

Where Title1 and Title2 are the titles at the tops of your data columns F
and G

Note that the two conditions are on separate rows. For example the above is
entered in A1:B3. Use this as the Criteria range for Advanced Filter


--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Daren" wrote:

> Thanks, but it did not seem to work properly. I ented the formula as you
> said by inserting two spacer columns in F and G. Then I entered the formula
> like you stated below in column G and used that as the advanced filter
> criteria. The formula returned FALSE even when Saturday appeared in those
> cells. Then I broke the formula below into two separate columns where I
> would need to find the word Saturday, with a header row in D1, the formula
> =OR(NOT(ISERROR(FIND("Saturday",D6))) in cell D2. Then I entered another
> header row in E1 and the formula =OR(NOT(ISERROR(FIND("Saturday",E6))). When
> I used those as the criteria to search in the data set all rows were hidden.
> What can be the problems here? Thanks again.
>
> "Bob Umlas" wrote:
>
> > If the column headers are in D1:E1, then somewhere where you have space, say
> > M1:M2, enter this formula in M2 leacing M1 blank:
> > =OR(NOT(ISERROR(FIND("Saturday",D2))),NOT(ISERROR(FIND("Saturday",E2))))
> > then use M1:M2 as your criteria cells in the advanced filter dialog.
> > Bob Umlas
> > Excel MVP
> >
> > "Daren" <(E-Mail Removed)> wrote in message
> > news:4833B521-89E3-4D23-AC7D-(E-Mail Removed)...
> > > Hello,
> > > I have text values in 2 columns of cells that contain the word Saturday in
> > > any length of values...e.g, The First Saturday, That Saturday was Nice. I
> > > want to be able to use an advanced filter to show any rows that contain
> > > the
> > > word Saturday in both columns. How can I do this assuming that Saturday
> > > can
> > > appear in columns D and E?
> > > Thanks.

> >
> >
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Building criteria string for Advanced Filter variable not resolvin =?Utf-8?B?SkVGRldJ?= Microsoft Excel Misc 1 29th Aug 2007 07:52 PM
Need Advanced Filter with NOT equal string and OR criteria =?Utf-8?B?TUs=?= Microsoft Excel Misc 5 7th Dec 2005 02:28 PM
Advanced Filter using Date represented as text =?Utf-8?B?ZHJpY2U=?= Microsoft Excel Worksheet Functions 1 15th Dec 2004 04:56 PM
advanced filter won't allow me to filter on bracketed text (-456.2 =?Utf-8?B?THVjaWFub0c=?= Microsoft Excel Misc 2 7th Dec 2004 09:03 AM
Exclude text with advanced filter ken smith Microsoft Excel Worksheet Functions 3 22nd Jan 2004 01:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:23 AM.