Need help with sumif or sumproduct

snoozing

New Member
Joined
Aug 11, 2009
Messages
14
I am trying to create a year to date tracking file based off of four criteria & cannot seem to get the formula to work right. I have tried sumif and sumproduct but neither work right. Sumif I have more experience with so I am guessing I did the sumproduct formula wrong. Either that or Sumif cannot be used the way I am envisioning it.

The formula I am using for sumif is as follows:

=SUMIF(DATA!$F:$F,CONCATENATE($A$1,$A$2,B$3,$A4),DATA!$E:$E)

The concatenate formula is just putting together these columns in this order: C, D, A, B

But all it produces are 82 across the entire period/range.


Uploaded with ImageShack.us


Uploaded with ImageShack.us

Thanks for any help anyone can provide
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
(1) Check to ensure calculation is set to automatic

(2) SUMIF starts doing wierd things with long strings (or big numbers). Use SUMPRODUCT instead:

=SUMPRODUCT(--(DATA!$F2:$F100=CONCATENATE($A$1,$A$2,B$3,$A4)),DATA!$E2:$E100)
 
Last edited:
Upvote 0
With that formula I get this result:


Uploaded with ImageShack.us

Only the first cell seems to calculate, the rest do not. I also checked to see if I have auto calculate on & it does. I'm not sure what I am doing wrong.
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,834
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