Dennisr53

New Member
Joined
May 29, 2015
Messages
38
Hi everyone,
First: I am trying to separate 07/02/2016 02:10:28 into a date and time column any suggestions?
next: I want to count how many are between 2am and 3am

I have seen this somewhere but, do not remember where I saw it.

Thanks, Dennis

<tbody>
</tbody><colgroup><col></colgroup>
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
First step, to split it up..

A1 contains your date/time value
B1: =INT(A1)
C1: =A1-B1

Format B1 as Date, C1 as Time.
 
Upvote 0
Then to count between 2am and 3am

Assuming XL2007+
=COUNTIFS(C1:C100,">=02:00:00",C1:C100,"<=03:00:00")
 
Upvote 0

Forum statistics

Threads
1,217,364
Messages
6,136,117
Members
449,993
Latest member
Sphere2215

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