SUMIF where criteria is formula

jjsintheuk

New Member
Joined
Jun 27, 2006
Messages
3
Hello,

=SUMIF(A2:A48,"=April",D2:D48)

I have a problem with the above formula I'm trying to create.

Column A holds dates that are pulled from another spreadsheet using a formula.
Column D holds some figures that I'm suming up.

The criteria is April.

So what I'm trying to do is sum where April appears in column A but I think the issue is that there are forumlas in column A which although soem of the cells have April in them they are the values being displayed as a result of the forumlas pulling these dates from another sheet.

Any help would be much appreciated.

Thanks
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Hello,

=SUMIF(A2:A48,"=April",D2:D48)

I have a problem with the above formula I'm trying to create.

Column A holds dates that are pulled from another spreadsheet using a formula.
Column D holds some figures that I'm suming up.

The criteria is April.

So what I'm trying to do is sum where April appears in column A but I think the issue is that there are forumlas in column A which although soem of the cells have April in them they are the values being displayed as a result of the forumlas pulling these dates from another sheet.

Any help would be much appreciated.

Thanks
Maybe somethig like this...

=SUMPRODUCT(--(TEXT(A2:A48,"mmmm")="April"),D2:D48)
 
Upvote 0
Hi and welcome to the board!!!
Probably best to give SUMPRODUCT a chance
Code:
=SUMPRODUCT(--(A2:A48="April",D2:D48)
That said, I would just use a Pivot Table

lenze
 
Upvote 0
T Valko's formula might be better for your needs if you have Dates in the field you are pulling from

lenze
 
Upvote 0

Forum statistics

Threads
1,224,595
Messages
6,179,798
Members
452,943
Latest member
Newbie4296

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