Multiple Cells Sum

elicayan

New Member
Joined
May 20, 2014
Messages
12
Hi,

I am working on a 1-year data of file and I want only to sum specific cells but excel is not allowing due to many references etc.

I am working on and I want only to add the values of 12:00-12:59 since it is an hourly interval from Jan 1 2014 - Dec 31 2014.

Is there any formulas that you can suggest?


1/1/2014
12:00 AM - 12:59 AM0
1:00 AM - 1:59 AM0
2:00 AM - 2:59 AM1
3:00 AM - 3:59 AM0
4:00 AM - 4:59 AM0
5:00 AM - 5:59 AM1
6:00 AM - 6:59 AM1
7:00 AM - 7:59 AM1
8:00 AM - 8:59 AM2
9:00 AM - 9:59 AM5
10:00 AM - 10:59 AM6
11:00 AM - 11:59 AM8
12:00 PM - 12:59 PM16
1:00 PM - 1:59 PM12
2:00 PM - 2:59 PM14
3:00 PM - 3:59 PM8
4:00 PM - 4:59 PM6
5:00 PM - 5:59 PM8
6:00 PM - 6:59 PM8
7:00 PM - 7:59 PM6
8:00 PM - 8:59 PM5
9:00 PM - 9:59 PM5
10:00 PM - 10:59 PM3
11:00 PM - 11:59 PM1
1/2/2014
12:00 AM - 12:59 AM4
1:00 AM - 1:59 AM2
2:00 AM - 2:59 AM0
3:00 AM - 3:59 AM0
4:00 AM - 4:59 AM0
5:00 AM - 5:59 AM0
6:00 AM - 6:59 AM0
7:00 AM - 7:59 AM1
8:00 AM - 8:59 AM4
9:00 AM - 9:59 AM8
10:00 AM - 10:59 AM11
11:00 AM - 11:59 AM12
12:00 PM - 12:59 PM13
1:00 PM - 1:59 PM14
2:00 PM - 2:59 PM18
3:00 PM - 3:59 PM8
4:00 PM - 4:59 PM8
5:00 PM - 5:59 PM4
6:00 PM - 6:59 PM16
7:00 PM - 7:59 PM8
8:00 PM - 8:59 PM8
9:00 PM - 9:59 PM5
10:00 PM - 10:59 PM4
11:00 PM - 11:59 PM4

<colgroup><col span="3"></colgroup><tbody>
</tbody>
 

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.

Roderick_E

Well-known Member
Joined
Oct 13, 2007
Messages
2,051
Assuming data is in columns A & B or adjust as needed:

Code:
=SUMIFS(B:B,A:A,"12:00 AM - 12:59 AM")
Col B containing count
Col A container Times
 
Upvote 0

Forum statistics

Threads
1,191,232
Messages
5,985,425
Members
439,964
Latest member
nparrillo

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