Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count if multiple statements in two columns
I need to create a calculation where the range creiteria in my first column
is "=7<=9" and my second column ="30+" before it is counted. I'm not sure how to work both statements into this calculation. ie: countif(q2:q100"=7<=9" and r2:r100 "30+) It just errors out on me...any suggestions -- Motaad |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count if multiple statements in two columns
If you mean count the number of cell in R2:R100 where the value is 30 or
more and inthe same row Q2:Q100 contains 7,8,or 9 then try: =SUMPRODUCT((Q2:Q100=7)*(Q2:Q100<=9)*(R2:R100=30 )) -- HTH Sandy In Perth, the ancient capital of Scotland and the crowning place of kings with @tiscali.co.uk "Motaad" wrote in message ... I need to create a calculation where the range creiteria in my first column is "=7<=9" and my second column ="30+" before it is counted. I'm not sure how to work both statements into this calculation. ie: countif(q2:q100"=7<=9" and r2:r100 "30+) It just errors out on me...any suggestions -- Motaad |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count if multiple statements in two columns
the 30+ is a category code so it is not 30
-- Motaad "Sandy Mann" wrote: If you mean count the number of cell in R2:R100 where the value is 30 or more and inthe same row Q2:Q100 contains 7,8,or 9 then try: =SUMPRODUCT((Q2:Q100=7)*(Q2:Q100<=9)*(R2:R100=30 )) -- HTH Sandy In Perth, the ancient capital of Scotland and the crowning place of kings with @tiscali.co.uk "Motaad" wrote in message ... I need to create a calculation where the range creiteria in my first column is "=7<=9" and my second column ="30+" before it is counted. I'm not sure how to work both statements into this calculation. ie: countif(q2:q100"=7<=9" and r2:r100 "30+) It just errors out on me...any suggestions -- Motaad |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
combining IF and AND statements for multiple columns | Excel Discussion (Misc queries) | |||
Sum/Count Multiple columns | Excel Discussion (Misc queries) | |||
Count if Multiple columns | Excel Worksheet Functions | |||
how to count one value or another across multiple columns? | Excel Discussion (Misc queries) | |||
Count on multiple columns | Excel Worksheet Functions |