Hello Excel Pro's! This may be a remedial answer, but I can't find what I'm looking for. This may be because I don't know what the proper term is.
I'd like to place a value of, lets say 11:00am, but on my keyboard, I don't want to type the ( and/or (am). So I'd like to type (1100) and have the sheet automatically know that the input is 11:00am and for it to look like = 11:00
This is because I'm working with a 24hour clock, so no need for am or pm.
Then I need the formula to calculate the total time. 11:00 to 12:00 = one hour (01:00) then *24 = 1.0 (all decimals rounded to 1 decimal, ie .0-.9; 1.2 or 4.7)
Same would go for a date. Entered = 32018 but the computer would see it as 03/20/2018 and it would look like 20-Mar-18.
Row 1: Example
Entered into A1 = 1100 but looks like 11:00
Entered into B1 = 1200 but looks like 12:00
C1 = A1 + B1 or B1 - A1 = 01:00
D1 = C1 * 24 = 1.0
Row 2: Example
Entered into A2 = 1215 but looks like 12:15
Entered into B2 = 1512 but looks like 15:12
C2 = A2 + B2 or B2 - A2 = 02:57
D2 = C2 * 24 = 3.0
The tricky part is when the clock rolls over into the next day as example row 3
Row 3: Example
Entered into A3 = 2345 but looks like 23:45
Entered into B3 = 0143 but looks like 01:43
C3 = A3 + B3 or B3 - A3 = 01:58
D3 = C3 * 24 = 2.0
Row 4 = formulas?
0 a b c d 1 11:00 12:00 01:00 1.0 2 12:15 15:12 02:57 3.0 3 23:45 01:43 01:58 2.0 4 =hh:mm or ##\:## =hh:mm or ##\:## Solved! =B3+--(B3<A3)-A3 =C*24
For the date input 4418 = 4-Apr-18 not solved yet.
Thanks for any help in advance.
Bookmarks