how do i type a time into a cell formatted for time?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have highlighted a block of cells and used format-cell-time to format for
time but when I try to type in a time using the 24 hr clock eg. 0800 it
converts the time to a date. What am I ding wrong?
 
You need the colon, 08:00

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
I have highlighted a block of cells and used format-cell-time to format for
time but when I try to type in a time using the 24 hr clock eg. 0800 it
converts the time to a date. What am I ding wrong?

You are missing the concept that formatting the cell for time only affects how
the contents of the cell are DISPLAYED. The format has nothing to do with how
Excel parses your entry.

You either have to add the colon when you type, eg: 08:00, or somehow convert
0800 to an Excel time.

One method of converting the 24 hr times into "Excel times" is to use this
formula in an adjacent cell:

=--TEXT(A1,"00\:00")

and ensure the cell with this formula IS formatted as time.


--ron
 

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

Back
Top