Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
How do I find all rows in a range that contain a particular value in one
column and another value in a different column? e.g. Find all rows where column B = "apple" and column C = "pie". |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
What do you mean by 'find' ?
To count them use =SUMPRODUCT(--(B1:B100="apple"),--(C1:C100="pie")) To display them in some color use Format Conditional Formatting with Formula IS =AND(B1="apple", C1="pie") best wishes - please come back is more is needed -- Bernard V Liengme www.stfx.ca/people/bliengme remove caps from email "wmclemore" wrote in message ... How do I find all rows in a range that contain a particular value in one column and another value in a different column? e.g. Find all rows where column B = "apple" and column C = "pie". |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
This is great, Bernard! As I evaluated the formula, I could not tell what
the two "--"s were accomplishing. Nor could I find "--" in the help. What does "--" accomplish? Thanks, William "Bernard Liengme" wrote: What do you mean by 'find' ? To count them use =SUMPRODUCT(--(B1:B100="apple"),--(C1:C100="pie")) To display them in some color use Format Conditional Formatting with Formula IS =AND(B1="apple", C1="pie") best wishes - please come back is more is needed -- Bernard V Liengme www.stfx.ca/people/bliengme remove caps from email "wmclemore" wrote in message ... How do I find all rows in a range that contain a particular value in one column and another value in a different column? e.g. Find all rows where column B = "apple" and column C = "pie". |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Glad it worked.
For SUMPRODUCT see http://www.xldynamic.com/source/xld.SUMPRODUCT.html and this explains the "--": http://mcgimpsey.com/excel/formulae/doubleneg.html -- Bernard V Liengme www.stfx.ca/people/bliengme remove caps from email "wmclemore" wrote in message ... This is great, Bernard! As I evaluated the formula, I could not tell what the two "--"s were accomplishing. Nor could I find "--" in the help. What does "--" accomplish? Thanks, William "Bernard Liengme" wrote: What do you mean by 'find' ? To count them use =SUMPRODUCT(--(B1:B100="apple"),--(C1:C100="pie")) To display them in some color use Format Conditional Formatting with Formula IS =AND(B1="apple", C1="pie") best wishes - please come back is more is needed -- Bernard V Liengme www.stfx.ca/people/bliengme remove caps from email "wmclemore" wrote in message ... How do I find all rows in a range that contain a particular value in one column and another value in a different column? e.g. Find all rows where column B = "apple" and column C = "pie". |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Use an Auto Filter on the top line of your spreadsheet, where all your
headers sit. (under Data - Filter - Auto Filter). Then using the drop down box of the data filter for column B, select "(custom)". Select Equals as you where condition and in the value area type "apple". Select OK and this should have narrowed down the displayed data in column B to those row containing "apple". Do the same for column C, i.e. use the drop down box of the data filter for column C, select "(custom)". Select Equals as you where condition and in the value area type "pie". Select OK and this should have narrowed down the displayed data in column C to those row containing "pie". Now you should only be looking at rows that have apple in column B and pie in column C. "wmclemore" wrote: How do I find all rows in a range that contain a particular value in one column and another value in a different column? e.g. Find all rows where column B = "apple" and column C = "pie". |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
SUMIF with multiple criteria, by columns | Excel Worksheet Functions | |||
How can I count items in multiple columns with different criteria. | Excel Worksheet Functions | |||
Automatically Break Multiple Rows to Two Columns | Excel Discussion (Misc queries) | |||
multiple columns / rows to be referenced through a listbox | Excel Discussion (Misc queries) | |||
Counting rows based on criteria in multiple cells | Excel Discussion (Misc queries) |