Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default sumif using multiple criteria

How can I use the sumif using more than one criteria. For example:

Sum column C if column A = 5 AND if column B =10
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 427
Default sumif using multiple criteria

The formula is (you'll need to adjust the ranges, of course)
=SUMPRODUCT(--(A1:A10=5),--(B1:B10=10),C1:C10)

For a detailed explanation, do a search on DOUBLE UNARY SUMPRODUCT at
this site:
http://groups.google.com/group/micro...UTF-8&oe=UTF-8

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default sumif using multiple criteria

Try this array* formula:

=SUM(IF((A1:A100=5)*(B1:B100=10),C1:C100))

*As this is an array formula, then once you have typed it in (or
subsequently edit it) you must use CTRL-SHIFT-ENTER (CSE) rather than
just ENTER. If you do this correctly, then Excel will wrap curly braces
{ } around the formula when viewed in the formula bar - you must not
type these yourself.

Hope this helps.

Pete

RMires wrote:
How can I use the sumif using more than one criteria. For example:

Sum column C if column A = 5 AND if column B =10


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default sumif using multiple criteria

I think (hope <g) that you mean

http://www.xldynamic.com/source/xld.SUMPRODUCT.html

your link pulls up this thread (amongst others)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Dave O" wrote in message
ups.com...
The formula is (you'll need to adjust the ranges, of course)
=SUMPRODUCT(--(A1:A10=5),--(B1:B10=10),C1:C10)

For a detailed explanation, do a search on DOUBLE UNARY SUMPRODUCT at
this site:

http://groups.google.com/group/micro...UTF-8&oe=UTF-8



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
return multiple rows of data based on criteria steve_sr2 Excel Worksheet Functions 8 May 20th 23 07:47 PM
SUMIF multiple criteria HLS Excel Discussion (Misc queries) 5 March 24th 06 03:43 PM
SUMIF with multiple criteria stacyjhaskins Excel Worksheet Functions 4 August 29th 05 08:22 PM
SUMIF in multiple columns based on other criteria in Excel? Scott Powell Excel Discussion (Misc queries) 9 April 13th 05 02:32 PM
"criteria" in a sumif refering to the value in another cell mark Excel Discussion (Misc queries) 1 January 31st 05 07:39 PM


All times are GMT +1. The time now is 06:48 AM.

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"