Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
benb
 
Posts: n/a
Default sumif with multiple criteria

The subject pretty much sums up my question (no pun intended). I want to use
SUMIF(), but I have more than one criteria. An imbedded AND() won't work.
Any other suggestions? Thanks in advance for your help.
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

Try

=SUMPRODUCT(--(Range1=condition1),--(Range2=condition2),sumrange)

you can of course use multiple criteira on the same range so in that case
replace Range2 with Range1

Regards,

Peo Sjoblom

"benb" wrote:

The subject pretty much sums up my question (no pun intended). I want to use
SUMIF(), but I have more than one criteria. An imbedded AND() won't work.
Any other suggestions? Thanks in advance for your help.

  #3   Report Post  
benb
 
Posts: n/a
Default

Thanks for your reply. I was afraid SUMPRODUCT would be the answer. I'm not
very knowledgable in that function and MS Help is no use. I've tried
recreating your example, but I'm not getting something write because I am
getting an error message (#NUM!). The function I used was
=SUMPRODUCT((T:T="00"),(R:R0),(Q:Q="Y"),R:R). It couldn't be because I am
using three criteria? The error message implies that the function requires a
numeric argument where I am using something else.

"Peo Sjoblom" wrote:

Try

=SUMPRODUCT(--(Range1=condition1),--(Range2=condition2),sumrange)

you can of course use multiple criteira on the same range so in that case
replace Range2 with Range1

Regards,

Peo Sjoblom

"benb" wrote:

The subject pretty much sums up my question (no pun intended). I want to use
SUMIF(), but I have more than one criteria. An imbedded AND() won't work.
Any other suggestions? Thanks in advance for your help.

  #4   Report Post  
benb
 
Posts: n/a
Default

Nevermind, I got it. Thanks.

"Peo Sjoblom" wrote:

Try

=SUMPRODUCT(--(Range1=condition1),--(Range2=condition2),sumrange)

you can of course use multiple criteira on the same range so in that case
replace Range2 with Range1

Regards,

Peo Sjoblom

"benb" wrote:

The subject pretty much sums up my question (no pun intended). I want to use
SUMIF(), but I have more than one criteria. An imbedded AND() won't work.
Any other suggestions? Thanks in advance for your help.

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
How do I sum (like sumif) but predicated on multiple criteria, in. djpaik Excel Worksheet Functions 2 January 1st 05 02:12 PM
How do I ask for multiple criteria when creating a "sumif" formul. Rachelle Excel Worksheet Functions 3 December 2nd 04 12:49 AM
SUMIF multiple criteria in 1 range Mike@Q Excel Worksheet Functions 5 November 26th 04 04:55 PM
SUMIF multiple criteria LOU Excel Worksheet Functions 1 November 10th 04 08:12 PM
Can I use a cell reference in the criteria for the sumif function. Number Cruncher Excel Worksheet Functions 2 November 4th 04 08:52 PM


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