Count If Formula

Toastis

Board Regular
Joined
Apr 20, 2011
Messages
65
Good Morning all... I need a countif formula that would allow me to consolidate these into broader time frames. If there is a better formula, I'm all for it.
Here is my sample data sheet -


Time Count Time Blocks
12:00:00 AM 2 12:00 AM
12:02:00 AM 1:00 AM
12:03:00 AM 1 2:00 AM
12:05:00 AM 1 3:00 AM
12:07:00 AM 4:00 AM
12:10:00 AM 5:00 AM
12:11:00 AM 1 6:00 AM
12:14:00 AM 7:00 AM
12:15:00 AM 1 8:00 AM
12:16:00 AM 1 9:00 AM
12:19:00 AM 10:00 AM
12:20:00 AM 1 11:00 AM
12:21:00 AM 12:00 PM
12:22:00 AM 1 1:00 PM
12:23:00 AM 2:00 PM
12:24:00 AM 1 3:00 PM
12:25:00 AM 4:00 PM
12:26:00 AM 1 5:00 PM
12:27:00 AM 2 6:00 PM
12:28:00 AM 1 7:00 PM
12:29:00 AM 8:00 PM
12:35:00 AM 9:00 PM
12:36:00 AM 10:00 PM
12:38:00 AM 11:00 PM
12:40:00 AM 1 12:00 AM
12:46:00 AM 1:00 AM
12:47:00 AM 2 2:00 AM
12:50:00 AM 3:00 AM
12:52:00 AM 1 4:00 AM
12:55:00 AM 5:00 AM
12:57:00 AM 6:00 AM
12:58:00 AM 7:00 AM
1:00:00 AM 8:00 AM
1:02:00 AM 9:00 AM
1:06:00 AM 10:00 AM
1:08:00 AM 11:00 AM
1:10:00 AM 1 12:00 PM
1:13:00 AM 1:00 PM
1:15:00 AM 2:00 PM
1:17:00 AM 8 3:00 PM
1:20:00 AM 6 4:00 PM
1:21:00 AM 5:00 PM
1:22:00 AM 6 6:00 PM
1:23:00 AM 7:00 PM
1:25:00 AM 20 8:00 PM
1:26:00 AM 1 9:00 PM
1:29:00 AM 1 10:00 PM
1:30:00 AM 5 11:00 PM
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
That didn't come out very well in my post ... Columns are times, Count of time occurrence, and then 3rd column is hour start times from midnite - 11PM, in which i need to sum occurrences in the column next to each time.
 
Upvote 0

Forum statistics

Threads
1,224,606
Messages
6,179,865
Members
452,948
Latest member
UsmanAli786

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