split time format

R

ron thetford

I have time displayed as 12:20:15 for example. This is
downloaded off another system and imported into excel. I
need to display only the hour portion of the time. I have
done this before with some help for someone, but I forgot
what we did. Something about spliting at the colon and
making 3 columns so I would have the hr, min, and sec.
Could someone please help. I have tried to format cells
to hh and no luck.
 
C

Chip Pearson

Ron,

Try
=HOUR(A1)
=MINUTE(A1)
=SECOND(A1)


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com (e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top