Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am doing an overtime spreadsheet, and when a user types in 08:00 this is
the way it looks, I have it formatted to custom [hh:]mm. This works good until someone types in 0800 and it puts in 19200:00. Is there a format that will allow a user to type in 0800 and it put the correct number of 08:00? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You may want to use Data Validation and test for a value less than 1, then
give an appropriate message to the user if it isn't. -- David Biddulph "Pammy" wrote in message ... I am doing an overtime spreadsheet, and when a user types in 08:00 this is the way it looks, I have it formatted to custom [hh:]mm. This works good until someone types in 0800 and it puts in 19200:00. Is there a format that will allow a user to type in 0800 and it put the correct number of 08:00? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You cannot format a cell so that 0800 will return 08:00 as a valid time.
Excel doesn't do "masks" for date and time. You can use VBA to for that if you want to go that route. See Chip Pearson's site for code if interested. http://www.cpearson.com/excel/DateTimeEntry.htm Gord Dibben MS Excel MVP On Tue, 24 Mar 2009 05:46:08 -0700, Pammy wrote: I am doing an overtime spreadsheet, and when a user types in 08:00 this is the way it looks, I have it formatted to custom [hh:]mm. This works good until someone types in 0800 and it puts in 19200:00. Is there a format that will allow a user to type in 0800 and it put the correct number of 08:00? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to change colon to semi-colon in CP/List Seprator | Excel Discussion (Misc queries) | |||
format cell to place colon btw every 2 alphanumeric characters | Excel Worksheet Functions | |||
Format cell to show colon | Excel Worksheet Functions | |||
.CSV file format - comma or semi-colon? | Excel Worksheet Functions | |||
.CSV file format - comma or semi-colon | Excel Worksheet Functions |