Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
a_moron
 
Posts: n/a
Default Filter/Select multiple rows


Is this possible to do?

The result I want is to filter _ALL_ common (group of) values column
*CA* that has the value 1 in column *CB*
Code:
--------------------
CA CB
----------
A 0
A 0
A 1
A 0
B 1
C 0
C 0
C 0
D 0
D 0
D 1
E 1
E 1
F 0
F 0
F 0
F 0
--------------------
So the result would look something like this:
Code:
--------------------
CA CB
----------
C 0
C 0
C 0
F 0
F 0
F 0
F 0
--------------------


--
a_moron


------------------------------------------------------------------------
a_moron's Profile: http://www.excelforum.com/member.php...o&userid=30671
View this thread: http://www.excelforum.com/showthread...hreadid=503300

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bernie Deitrick
 
Posts: n/a
Default Filter/Select multiple rows

You need to use a helper column of formulas: in CC2, for example, use one of these formulas

=SUMIF(CA:CA,CA2,CB:CB)=0

=SUMPRODUCT(($CA$2:$CA$1000=CA2*$CB$2:$CB$1000=1)) =0

depending on whether you only have 1's and 0's or other numbers...

Then copy them down to match you column, and filter on CC for TRUE.

HTH,
Bernie
MS Excel MVP


"a_moron" wrote in message
...

Is this possible to do?

The result I want is to filter _ALL_ common (group of) values column
*CA* that has the value 1 in column *CB*
Code:
--------------------
CA CB
----------
A 0
A 0
A 1
A 0
B 1
C 0
C 0
C 0
D 0
D 0
D 1
E 1
E 1
F 0
F 0
F 0
F 0
--------------------
So the result would look something like this:
Code:
--------------------
CA CB
----------
C 0
C 0
C 0
F 0
F 0
F 0
F 0
--------------------


--
a_moron


------------------------------------------------------------------------
a_moron's Profile: http://www.excelforum.com/member.php...o&userid=30671
View this thread: http://www.excelforum.com/showthread...hreadid=503300



  #3   Report Post  
Posted to microsoft.public.excel.misc
Ron Coderre
 
Posts: n/a
Default Filter/Select multiple rows

Try this:
Make sure your data has column headings above the actual data.
Select your entire data list (including the headings)
DataFilterAutoFilter
Click the dropdown list in Col_CB
Select 0 <-zero (your example indicates you want zero values)

The list should now hide all rows where Col_CB does not = zero.

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"a_moron" wrote:


Is this possible to do?

The result I want is to filter _ALL_ common (group of) values column
*CA* that has the value 1 in column *CB*
Code:
--------------------
CA CB
----------
A 0
A 0
A 1
A 0
B 1
C 0
C 0
C 0
D 0
D 0
D 1
E 1
E 1
F 0
F 0
F 0
F 0
--------------------
So the result would look something like this:
Code:
--------------------
CA CB
----------
C 0
C 0
C 0
F 0
F 0
F 0
F 0
--------------------


--
a_moron


------------------------------------------------------------------------
a_moron's Profile: http://www.excelforum.com/member.php...o&userid=30671
View this thread: http://www.excelforum.com/showthread...hreadid=503300


  #4   Report Post  
Posted to microsoft.public.excel.misc
Ron Coderre
 
Posts: n/a
Default Filter/Select multiple rows

Well, I completely misinterpreted what you are looking for:

Try this:
CD1: test
CD: =SUMPRODUCT(($CB$2:$CB$18=CB2)*$CC$2:$CC$18)=0

Select your data list CA1:CB1000
DataFilterAdvanced Filter
List Range: (your already selected list)
Criteria Range: $CE$1:$CE$2
Click the [OK] button

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"Ron Coderre" wrote:

Try this:
Make sure your data has column headings above the actual data.
Select your entire data list (including the headings)
DataFilterAutoFilter
Click the dropdown list in Col_CB
Select 0 <-zero (your example indicates you want zero values)

The list should now hide all rows where Col_CB does not = zero.

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"a_moron" wrote:


Is this possible to do?

The result I want is to filter _ALL_ common (group of) values column
*CA* that has the value 1 in column *CB*
Code:
--------------------
CA CB
----------
A 0
A 0
A 1
A 0
B 1
C 0
C 0
C 0
D 0
D 0
D 1
E 1
E 1
F 0
F 0
F 0
F 0
--------------------
So the result would look something like this:
Code:
--------------------
CA CB
----------
C 0
C 0
C 0
F 0
F 0
F 0
F 0
--------------------


--
a_moron


------------------------------------------------------------------------
a_moron's Profile: http://www.excelforum.com/member.php...o&userid=30671
View this thread: http://www.excelforum.com/showthread...hreadid=503300


  #5   Report Post  
Posted to microsoft.public.excel.misc
Ron Coderre
 
Posts: n/a
Default Filter/Select multiple rows

Correction:

THIS:
CD1: test
CD: =SUMPRODUCT(($CB$2:$CB$18=CB2)*$CC$2:$CC$18)=0

SHOULD BE:
CE1: test
CE2: =SUMPRODUCT(($CB$2:$CB$18=CB2)*$CC$2:$CC$18)=0

My appologies for the typos.

***********
Regards,
Ron

XL2002, WinXP-Pro


"Ron Coderre" wrote:

Well, I completely misinterpreted what you are looking for:

Try this:
CD1: test
CD: =SUMPRODUCT(($CB$2:$CB$18=CB2)*$CC$2:$CC$18)=0

Select your data list CA1:CB1000
DataFilterAdvanced Filter
List Range: (your already selected list)
Criteria Range: $CE$1:$CE$2
Click the [OK] button

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"Ron Coderre" wrote:

Try this:
Make sure your data has column headings above the actual data.
Select your entire data list (including the headings)
DataFilterAutoFilter
Click the dropdown list in Col_CB
Select 0 <-zero (your example indicates you want zero values)

The list should now hide all rows where Col_CB does not = zero.

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"a_moron" wrote:


Is this possible to do?

The result I want is to filter _ALL_ common (group of) values column
*CA* that has the value 1 in column *CB*
Code:
--------------------
CA CB
----------
A 0
A 0
A 1
A 0
B 1
C 0
C 0
C 0
D 0
D 0
D 1
E 1
E 1
F 0
F 0
F 0
F 0
--------------------
So the result would look something like this:
Code:
--------------------
CA CB
----------
C 0
C 0
C 0
F 0
F 0
F 0
F 0
--------------------


--
a_moron


------------------------------------------------------------------------
a_moron's Profile: http://www.excelforum.com/member.php...o&userid=30671
View this thread: http://www.excelforum.com/showthread...hreadid=503300




  #6   Report Post  
Posted to microsoft.public.excel.misc
a_moron
 
Posts: n/a
Default Filter/Select multiple rows


Thx for the fast replies, I'll try them and get back :)


--
a_moron


------------------------------------------------------------------------
a_moron's Profile: http://www.excelforum.com/member.php...o&userid=30671
View this thread: http://www.excelforum.com/showthread...hreadid=503300

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
Move multiple rows of data that are not sequential Mel Excel Discussion (Misc queries) 1 January 20th 06 06:33 AM
vlookup multiple text rows Tanya Excel Discussion (Misc queries) 4 August 15th 05 04:50 PM
Sort with multiple header rows Suzy Greblo Excel Discussion (Misc queries) 3 June 6th 05 10:50 PM
Multiple rows converted to one row Colorado Sherry Excel Worksheet Functions 3 January 26th 05 12:57 AM
Convert multiple columns to rows Lois Lane Excel Worksheet Functions 8 January 10th 05 12:47 AM


All times are GMT +1. The time now is 05:33 PM.

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"