Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Mr Mike
 
Posts: n/a
Default Multiple conditions on a countif

Hello, Using the grid below, I would like to create a count of all stores in
Rgn 1 that have sales greater than zero. Thanks for your help!

Region Store Sales
1 A 5
2 B 6
1 C 7
2 D 0
1 E 2
2 F 8
  #2   Report Post  
Anne Troy
 
Posts: n/a
Default

Try this, Mike:
http://www.officearticles.com/excel/...ft_excel.h tm
*******************
~Anne Troy

www.OfficeArticles.com


"Mr Mike" wrote in message
...
Hello, Using the grid below, I would like to create a count of all stores

in
Rgn 1 that have sales greater than zero. Thanks for your help!

Region Store Sales
1 A 5
2 B 6
1 C 7
2 D 0
1 E 2
2 F 8



  #3   Report Post  
Dave R.
 
Posts: n/a
Default

Here you go:

=SUMPRODUCT((A1:A10=1)*(C1:C100))

adjust ranges as necessary.

"Mr Mike" wrote in message
...
Hello, Using the grid below, I would like to create a count of all stores

in
Rgn 1 that have sales greater than zero. Thanks for your help!

Region Store Sales
1 A 5
2 B 6
1 C 7
2 D 0
1 E 2
2 F 8



  #4   Report Post  
Roger Govier
 
Posts: n/a
Default

=SUMPRODUCT(--($A$2:$A$100=1),--($C$2:$C$1000))
Change ranges to suit

--
Regards
Roger Govier
"Mr Mike" wrote in message
...
Hello, Using the grid below, I would like to create a count of all stores
in
Rgn 1 that have sales greater than zero. Thanks for your help!

Region Store Sales
1 A 5
2 B 6
1 C 7
2 D 0
1 E 2
2 F 8



  #5   Report Post  
Ashish Mathur
 
Posts: n/a
Default

Hi,

Try the following array formula (Ctrl+Shift+Enter)

SUM(IF((B5:B10=1)*(D5:D100),1,0),C5:C10)

Regards,

Ashish Mathur

"Mr Mike" wrote:

Hello, Using the grid below, I would like to create a count of all stores in
Rgn 1 that have sales greater than zero. Thanks for your help!

Region Store Sales
1 A 5
2 B 6
1 C 7
2 D 0
1 E 2
2 F 8



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tlosgyl3
 
Posts: n/a
Default Multiple conditions on a countif


Try this, Mike:
http://www.officearticles.com/excel/...ft_excel.h tm
*******************
~Anne Troy

www.OfficeArticles.com


Many thanks Anne - works a treat
http://www.excelforum.com/images/smilies/smile.gif
:)


--
tlosgyl3
------------------------------------------------------------------------
tlosgyl3's Profile: http://www.excelforum.com/member.php...o&userid=28074
View this thread: http://www.excelforum.com/showthread...hreadid=450641

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
COUNTIF Statement with Multiple Conditions in Different Ranges KJA Excel Worksheet Functions 2 April 26th 05 05:14 PM
SUM based on multiple conditions - SORRY, URGENT!!! marika1981 Excel Worksheet Functions 4 February 18th 05 11:13 AM
How to multiple conditions to validate more than 2 conditions to . Bhuvana Govind Excel Worksheet Functions 1 January 28th 05 07:07 PM
COUNTIF using multiple conditions? Muse of Fire New Users to Excel 3 December 29th 04 08:49 PM
Count If Formula for multiple conditions?? How To?? LPrain Excel Worksheet Functions 1 December 6th 04 09:18 PM


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

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

About Us

"It's about Microsoft Excel"