Counting times

Littlesaz

New Member
Joined
Sep 6, 2011
Messages
9
I have a column which gives you the absolute time difference between a planned delivery and the actual delivery. Payment depends on time bands. So if you were ten minutes late or ten minutes early, the column would be 00:10:00. I have approximately 20,000 rows, I need to count the number of entries that are

1. 10 mins and under
2. between 11 and 30
3. 31 and 60
4. over 60 minutes

What's the best way? :nya:

That's all folks
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
So what would be the syntax to count if the data was between 10 and 20 minutes for example. The data is formatted hh:mm:ss. I'm quite new to excel sorry.
 
Upvote 0
Try like this

Excel Workbook
ABCD
100:01up to 1010
200:0211-3019
300:03
400:04
500:05
600:06
700:07
800:08
900:09
1000:10
1100:11
1200:12
1300:13
1400:14
1500:15
1600:16
1700:17
1800:18
1900:19
2000:20
2100:21
2200:22
2300:23
2400:24
2500:25
2600:26
2700:27
2800:28
2900:29
3000:30
3100:31
3200:32
Sheet3
 
Upvote 0
Almost there

=COUNTIF(U2:U765,"<=0:10") isn't picking up the 00:00 to 10 mins, it's undercounting them by 10 but no idea why the ten as there aren't ten of any of the entries. I've checked the range and that looks ok. The rest are working fine.

Thanks
 
Upvote 0

Forum statistics

Threads
1,224,507
Messages
6,179,183
Members
452,893
Latest member
denay

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