Sum data depending on time?

Cadderly

New Member
Joined
Oct 10, 2002
Messages
3
Hello,

I need to sum data between a time period. For example :-
Time Quantity
11:48 134
12:25 152
12:28 121
12:35 143

I need to Sum all quantities that arrived between 12:00 and 12:30. Can anyone help?

Thanks
Cadderly
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,209
On 2002-10-11 04:34, Cadderly wrote:
Hello,

I need to sum data between a time period. For example :-
Time Quantity
11:48 134
12:25 152
12:28 121
12:35 143

I need to Sum all quantities that arrived between 12:00 and 12:30. Can anyone help?

Thanks
Cadderly

Let A2:B5 house the sample you provided, excluding the labels...

In D2 enter: 12:00

In E2 enter: 12:30

In F2 enter:

=SUMIF($B$2:$B$5,">="&D2)-SUMIF($B$2:$B$5,">"&E2)

will compute the desired sum.
 

Forum statistics

Threads
1,144,438
Messages
5,724,361
Members
422,546
Latest member
KevinOnTheDaily

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
Top