Formula Help Please

ccameron

Board Regular
Joined
Jul 3, 2010
Messages
226
Hi guys,
I am currently using a formula that has been working well, but I need to add a second crteria and am not sure how to do it. the formula I am currently using is =SUMIF($Q$13:$Q$493,"=2",$R$13:$R$493) I need it to check in column S13:S493 and if the value is "complete" then I dont want it to sum in the total. I only want values that are incomplete to sum up.

Any help would be greatly appreciated,

Thanks guys
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Hi guys,
I am currently using a formula that has been working well, but I need to add a second crteria and am not sure how to do it. the formula I am currently using is =SUMIF($Q$13:$Q$493,"=2",$R$13:$R$493) I need it to check in column S13:S493 and if the value is "complete" then I dont want it to sum in the total. I only want values that are incomplete to sum up.

Any help would be greatly appreciated,

Thanks guys
Try one of these...

This one will work in ALL versions of Excel.

=SUMPRODUCT(--(Q13:Q493=2),--(S13:S493<>"complete"),R13:R493)

This one will work in Excel 2007 and later.

=SUMIFS(R13:R493,Q13:Q493,2,S13:S493,"<>complete")

The SUMIFS version is more efficient if you can use it.
 
Upvote 0
Try one of these...

This one will work in ALL versions of Excel.

=SUMPRODUCT(--(Q13:Q493=2),--(S13:S493<>"complete"),R13:R493)

This one will work in Excel 2007 and later.

=SUMIFS(R13:R493,Q13:Q493,2,S13:S493,"<>complete")

The SUMIFS version is more efficient if you can use it.

Thanks T Valko
I used the second one it worked well, tried the first one =SUMPRODUCT(--(Q13:Q493=2),--(S13:S493<>"complete"),R13:R493) but it only came up with true as an anwser.

Thanks again
 
Upvote 0
Thanks T Valko
I used the second one it worked well, tried the first one =SUMPRODUCT(--(Q13:Q493=2),--(S13:S493<>"complete"),R13:R493) but it only came up with true as an anwser.

Thanks again
Hmmm...

Can't see how the SUMPRODUCT version will return TRUE. :confused:

Glad the SUMIFS worked!

Thanks for the feedback! :cool:
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,836
Members
452,947
Latest member
Gerry_F

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top