I'd like to calculate time for a timecard in Excel as a side exercise.
I'm currently using time in (D6) and time out (E6), both formatting HH:MM AM/PM with a total field reading =MOD(E6-D6,1)*24 formatted as General. This works well.
The problem is, you have to enter the time as "8:00 AM"
I've seen this replicated in an excel spreadsheet that allowed shorthand, for example "8 a" instead of "8:00 AM"
I can't figure out how to get data validation to allow users the option of entering their time in a shorthand format.
Any ideas?
Bookmarks