Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Count If formula question

Use SUMPRODUCT

=SUMPRODUCT(--(A1:A100=Condition1),--(B1:B100=Condition2),--(C1:C100=Condition3))

Condition1=Earnings limit e.g $1000
Condition2=State
Condition3=???

the "--" converts TRUE/FALSE to 1/0 to allow calculations to be performed.

HTH

HTH

"UNCCNU" wrote:

I have no problem with the standard CountIF function. What I can't figure
out is how to count based on 2 variables. For example, I would like to count
the # of companies that have 1 of 10 options in column A... AND 1 of 5
options in column B. For example, I can use simple CountIf to figure out
there are 100 companies earning over $1,000. I want to then break down that
100 companies into 5 categories... such as how many of the 100 are in
California. The states are my column B in the example above. Can anyone
help with creating a CountIF function that essentally has an "And" involved
also? Thank you very much.

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
Count If formula question T.Valko Excel Discussion (Misc queries) 0 March 28th 07 12:11 AM
Count question Sung Excel Discussion (Misc queries) 5 December 20th 06 04:34 PM
{=COUNT(IF(etc))} question Ben Karlin Excel Discussion (Misc queries) 2 May 26th 06 11:46 PM
Count Question Grant Excel Worksheet Functions 2 December 9th 05 04:51 PM
Count If question Denise Excel Discussion (Misc queries) 3 August 16th 05 09:37 PM


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