Sumif

GWB

Board Regular
Joined
Apr 23, 2010
Messages
89
I'm trying to add numbers in a column if certain criteria are met.

So far I have tried SUMIF(R3:R10000=AB3,V3:V10000=AC3,Q3:Q10000)

So what I'm assuming (probably incorrectly) is that this will add the numbers in column Q *if* the text in column R = the text in cell AB3 *and* the text in coulumn V = the text in cell AC3

It does not return a result ...and actually throws an error message but does not say what the error is

Thanks for any help
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Here's one way...

Use cells to hold the criteria:

A1 = Day
B1 = DF098CDW

=SUMPRODUCT(--(R3:R1000=A1),--(V3:V1000=B1),Q3:Q1000)

Note that with SUMPRODUCT you *can't* use entire columns as range references unless you're using Excel 2007 or later.
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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