sumif date range

IME410

New Member
Joined
Feb 11, 2003
Messages
18
I am trying to do a simple sumif, but the formula always gives me zero.

I need to sum numbers in column F if the dates in column A are within a certain range. I would like this range to come from dates in cells on another worksheet. If I hand type the dates, the numbers populate correctly, but if I select the cell with the dates in my formula if will not calculate and gives zero for the answer. It seems to be from the >,< signs because if I am going for an exact match it will calculate.

In the formula A2 is my low date and A3 is the high date for the range.

=SUMIF('GFRC Schedule'!A3:A136,">A2",'GFRC Schedule'!F3:F218)-SUMIF('GFRC Schedule'!A3:A136,">=A3",'GFRC Schedule'!F3:F218)
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Try taking out of the quotation mark and use concatenate symbol "&".

The formula will change to this:

=SUMIF('GFRC Schedule'!A3:A136,">" & A2,'GFRC Schedule'!F3:F218)-SUMIF('GFRC Schedule'!A3:A136,">=" & A3,'GFRC Schedule'!F3:F218)

This should work.

Hope this can help you.
AWalle.
 
Upvote 0

Forum statistics

Threads
1,215,016
Messages
6,122,700
Members
449,092
Latest member
snoom82

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