Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Patricia
 
Posts: n/a
Default Can I use two criteria in the SUMIF worksheet function?

Would appreciate knowing if anyone knows how to do this, and if so what is
the syntax. Thanks.
  #2   Report Post  
Alan
 
Posts: n/a
Default Can I use two criteria in the SUMIF worksheet function?

No, you can only use one criteria with SUMIF, but with SUMPRODUCT there is
no limit to how many criteria that can be used apart from the fact that it
is a volatile function, and if used in large ranges it will take a
significant time to calculate, more so if it's looking for more than one
criteria.
If you do need to use large (several hundreds or thousands) of SUMPRODUCT
formulas then probably the best way to go is a Pivot Table.
Check out this link, it'll take a while to read but it really is worth the
effort,
http://www.xldynamic.com/source/xld.SUMPRODUCT.html
Regards,
Alan.
"Patricia" wrote in message
...
Would appreciate knowing if anyone knows how to do this, and if so what is
the syntax. Thanks.



  #3   Report Post  
Bernard Liengme
 
Posts: n/a
Default Can I use two criteria in the SUMIF worksheet function?

No, but you can use multiple criteria with SUMPRODUCT.
Example =SUMPRODUCT(--(A1:A100="Jack"),--(B1:B100="Car"),C1:C100=5, D1:D100)
will sum d1:d100 cells provides corresponding A cell has Jack, B cell has
Cars and C cells equals 5

See also http://contextures.com/xlFunctions01.html#SumProduct

--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Patricia" wrote in message
...
Would appreciate knowing if anyone knows how to do this, and if so what is
the syntax. Thanks.



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
Comparing a list to a Calendar worksheet. PatrickL Excel Worksheet Functions 0 August 25th 05 04:21 PM
SUMIF function referring to values on different Worksheet TeeBee0831 Excel Worksheet Functions 10 May 3rd 05 10:28 PM
Help with SUMIF function criteria Marina Excel Worksheet Functions 4 April 27th 05 01:13 AM
"criteria" in a sumif refering to the value in another cell mark Excel Discussion (Misc queries) 1 January 31st 05 07:39 PM
can I use a range of dates as a criteria when using sumif? D@annyBoy Excel Worksheet Functions 5 December 2nd 04 01:37 PM


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