Sum Based on Dates

Deagers

New Member
Joined
Aug 28, 2014
Messages
3
Hi Forum,

I'm New to Excel Programming and have a basic understanding of both macros and formulas.
I'm are after a formula for the following;

PurchaseDateQtyTotal Cost
Compressor28/2/2014160025/8/2014
Battery7/5/201428031/8/2014
Spray Gun26/8/20142400
Work Boots27/8/20141150

<tbody>
</tbody>

I would like a formula to give me a sum of D (Total Cost) Based on a period between 2 Dates (The ones in Column E).

=sumifs(D2:D5,B2:B5,if(AND(

This is what i have come up with so far not sure if I'm on the right track or nor and I'm not sure how to finish it.
Any Help Would be greatly appreciated Thanks Guys.
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Glad it helped...
Thanks for the reply..
But please correct the formula i gave you from ">0" to ">="
 
Upvote 0

Forum statistics

Threads
1,214,936
Messages
6,122,340
Members
449,079
Latest member
rocketslinger

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