SumIFs greater than equal to AND less than equal to

jrunio

New Member
Joined
Dec 1, 2015
Messages
2
I have records with a starting date (A:A) and ending date (B:B) and a quantity (D:D). I have Chronological dates (H:H) I am looking for the sum of data in D if the corresponding A Date is less >= today AND corresponding B Date is <= today.

I have written: SUMIFS(D:D,$H1,">=A:A",$H1,"<=B:B")

Needless to say, its not working. Thoughts?
 
Better explanation:

I have record numbers in A:A, starting date (B:B) and ending date (C:C) and a quantity (D:D).

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]record 1[/TD]
[TD]12.1.15[/TD]
[TD]12.2.15[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]record 2[/TD]
[TD]12.1.15[/TD]
[TD]12.3.15[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]record 3[/TD]
[TD]12.2.15[/TD]
[TD]12.3.15[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]


I am looking for a sum of D for records whos start date is >= Today and <= Today

My return should look like this:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]12.1.15[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]12.2.15[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]12.3.15[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]



I have written: SUMIFS(D:D,$H1,">=B:B",$H1,"<=C:C")

Needless to say, its not working. Thoughts?
 
Last edited:
Upvote 0

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