Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,345
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default 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
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
combining IF and AND statements for multiple columns cubsfan Excel Discussion (Misc queries) 2 April 7th 06 05:25 PM
Sum/Count Multiple columns Tom Hewitt Excel Discussion (Misc queries) 6 March 14th 06 03:10 PM
Count if Multiple columns Dean Excel Worksheet Functions 2 January 16th 06 12:53 PM
how to count one value or another across multiple columns? MeatLightning Excel Discussion (Misc queries) 10 May 22nd 05 09:23 AM
Count on multiple columns Emece Excel Worksheet Functions 2 March 4th 05 02:52 PM


All times are GMT +1. The time now is 03:52 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"