LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default COUNT and SUM with multiple criteria

If you're using xl2007, look at =countifs().

In any version...

=sumproduct(--(a1:a99="final"),--(b1:b99=14))

Adjust the ranges to match--but you can't use whole columns (except in xl2007).

=sumproduct() likes to work with numbers. The -- stuff changes trues and falses
to 1's and 0's.

Bob Phillips explains =sumproduct() in much more detail he
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

And J.E. McGimpsey has some notes at:
http://mcgimpsey.com/excel/formulae/doubleneg.html



KiltedPhotography wrote:

Two seperate functions I'm having problems creating.

First, I need a COUNT of the number of cells meeting TWO sets of criteria.
For example, "column A=final" AND "column B=14".

Seperately, I also need a sum of values in "column C" for the same
conditions above.


--

Dave Peterson
 
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
Multiple Criteria, Count If, Sum Product to get count across range Jonathan Excel Worksheet Functions 5 January 9th 08 11:32 PM
multiple criteria for count if gtsch Excel Discussion (Misc queries) 3 April 19th 06 02:29 AM
Count Multiple Criteria Brian Excel Worksheet Functions 2 February 27th 06 02:44 PM
Multiple Count Criteria Reggie Mitchell Excel Worksheet Functions 1 December 14th 05 09:47 PM
I need to count while using multiple criteria Larry Excel Worksheet Functions 1 July 21st 05 04:56 PM


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