copying part of a cell's contents (formatted as dd:hh:mm)

T

Tom in Americus

Is there a way to extract (copy) a particular portion of a cell's contents
where the cell's number format is dd:hh:mm?
For instance, 04:09:12 indicates 4 days, 9 hours and 12 minutes. I would
like to extract the days, hours, and minutes separately and copy them to
three separate cells.
 
G

Gary''s Student

If 04:09:12 is in text then
=MID(A1,1,2)*1 =MID(A1,4,2)*1 =MID(A1,7,2)*1
will give you day, hours, and minutes
 

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