Sum total tons between specific dates, How?

Odie

Board Regular
Joined
Oct 23, 2009
Messages
90
I need to query columns to sum total weight between specific dates.
I would like to enter Begin Date in A1 and then End Date in A2 and have the Sum total on tons in A3. What would be the formula I need to put in A3?
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
My Dates are in G17:G5000
My Tons are in E17:E5000
<o:p></o:p>
Thank You, Odie
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Take a look at the SUMPRODUCT formula.

Give your sheet details, this should work in A3.

=SUMPRODUCT(--($G$17:$G$5000 > = A1),--($G$17:$G$5000 < = A2),E17:E5000)
 
Upvote 0
Hi odie,

Something like this....

=SUMPRODUCT((G17:G5000>=A1)*(G17:G5000<=B1)*(Sheet2!$E$17:$E$5000))

Ak
 
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,812
Members
452,945
Latest member
Bib195

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