I am trying to extract JUST the hour from the following date format 3/1/14 12:05 AM.
I tried the =Hour( function, but it returns 12:00 AM for every result.
Thank you in advance for all the help!
I am trying to extract JUST the hour from the following date format 3/1/14 12:05 AM.
I tried the =Hour( function, but it returns 12:00 AM for every result.
Thank you in advance for all the help!
What result do you expect?
12:00 AM = hour 0
0 formatted as Time = 12:00 AM
Biff
Microsoft MVP Excel
Keep It Simple Stupid
Let's Go Pens. We Want The Cup.
ok for 3:14 pm...the =hour( function returns 12:00AM
this thread is not solved...but it's marked solved
Can you post a SMALL sample file that shows that result?
A SMALL file is about 20 rows worth of data.
this file is huge... is a screen shot sufficient?
We can try it.
here's a screen shot
Assume your data in D2:
=D2-INT(D2)
and formatted as time with format custom h:mm AM/PM
I have even tried doing fixed width columns but as soon as you isolate the hour it displays (12:00 am).
Glad it works...
Cheers
Haven't tried your solution yet. I will first thing tomorrow. thanks!
bump...anyone have a solution for me?
Based on your screencap...
If you change the format of cell E6 to General what result do you get?
Maybe this example could help you
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks