Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Fahad Ashfaque
 
Posts: n/a
Default Joining Multiple filters with OR rather than AND

Hello,
I am applying filter to a very simple worksheet like the following

Date Height Width Length
1/1/2005 45 89
2/2/2005 40
2/3/2005 65
2/4/2005
2/5/2005
2/6/2006 780 89
3/5/2005
2/3/2004
2/3/3006
2/3/2003 87

I need to apply filter such that if there is no value in Height and Width
and Length; it should hide the row. If one of the three rows has data
(nonblank) it should not.

Problem is when i apply "nonblank" filter on all three column, it hides all.

Anyhelp regarding this would be appreciated.


Thanks,
Fahad

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Hi Fahad,

I would add a helper column with a formula in, like so

=COUNT(B2:D2)

and filter on the helper column for a value of 0.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Fahad Ashfaque" wrote in message
...
Hello,
I am applying filter to a very simple worksheet like the following

Date Height Width Length
1/1/2005 45 89
2/2/2005 40
2/3/2005 65
2/4/2005
2/5/2005
2/6/2006 780 89
3/5/2005
2/3/2004
2/3/3006
2/3/2003 87

I need to apply filter such that if there is no value in Height and Width
and Length; it should hide the row. If one of the three rows has data
(nonblank) it should not.

Problem is when i apply "nonblank" filter on all three column, it hides

all.

Anyhelp regarding this would be appreciated.


Thanks,
Fahad



  #3   Report Post  
CLR
 
Posts: n/a
Default

Use a helper column and put this formula in it's top row, assuming no
headers, and copy down..........

=IF(OR(B10,C10,D10),1,"")

Then Autofilter on this column for "1"

Vaya con Dios,
Chuck, CABGx3




"Fahad Ashfaque" wrote in message
...
Hello,
I am applying filter to a very simple worksheet like the following

Date Height Width Length
1/1/2005 45 89
2/2/2005 40
2/3/2005 65
2/4/2005
2/5/2005
2/6/2006 780 89
3/5/2005
2/3/2004
2/3/3006
2/3/2003 87

I need to apply filter such that if there is no value in Height and Width
and Length; it should hide the row. If one of the three rows has data
(nonblank) it should not.

Problem is when i apply "nonblank" filter on all three column, it hides

all.

Anyhelp regarding this would be appreciated.


Thanks,
Fahad



  #4   Report Post  
Fahad Ashfaque
 
Posts: n/a
Default

Thanks a lot both of you guys, It really did help.

"CLR" wrote:

Use a helper column and put this formula in it's top row, assuming no
headers, and copy down..........

=IF(OR(B10,C10,D10),1,"")

Then Autofilter on this column for "1"

Vaya con Dios,
Chuck, CABGx3




"Fahad Ashfaque" wrote in message
...
Hello,
I am applying filter to a very simple worksheet like the following

Date Height Width Length
1/1/2005 45 89
2/2/2005 40
2/3/2005 65
2/4/2005
2/5/2005
2/6/2006 780 89
3/5/2005
2/3/2004
2/3/3006
2/3/2003 87

I need to apply filter such that if there is no value in Height and Width
and Length; it should hide the row. If one of the three rows has data
(nonblank) it should not.

Problem is when i apply "nonblank" filter on all three column, it hides

all.

Anyhelp regarding this would be appreciated.


Thanks,
Fahad




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I show multiple worksheets on multiple screens? needville guy Excel Discussion (Misc queries) 0 April 3rd 05 04:15 AM
Can I get the mode, min, and max with multiple criteria? BobT Excel Discussion (Misc queries) 1 February 15th 05 03:20 AM
Return Multiple Results with Lookup Josh O. Excel Worksheet Functions 1 February 4th 05 08:07 PM
XML / parent with multiple children and with multiple children Richard Excel Discussion (Misc queries) 0 January 5th 05 11:49 AM
How do I avoid saving multiple Excel/Wordfiles for versioning purp Neil Excel Discussion (Misc queries) 1 December 13th 04 12:57 PM


All times are GMT +1. The time now is 01:49 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"