Forum Discussion
Time in Excel
- Oct 05, 2022
I'm sorry that I was not clear.
If you want to enter 3:55 and have it interpreted as 3m 55s, you must enter either 3:55.0 or 0:3:55.
Alternatively, you can enter 3:55 in one cell, say A1 (Excel interprets that as 3h 55m), and enter a formula like =A1/60 in another cell to calculate 3m 55.
Alternatively, you can create an event macro that changes the value in A1 (3h 55m) to 3m 55s by dividing A1 by 60.
I don't really recommend either of the latter two. KISS: just enter 3:55.0 or 0:3:55. Why not?
In all cases, you might also need to format the cell whose value is 3m 55 as Custom [m]:ss.
The reason is: Excel likes to do us "favors" and guess what format that we want. So we have to override its guess (sigh).
I'm sorry that I was not clear.
If you want to enter 3:55 and have it interpreted as 3m 55s, you must enter either 3:55.0 or 0:3:55.
Alternatively, you can enter 3:55 in one cell, say A1 (Excel interprets that as 3h 55m), and enter a formula like =A1/60 in another cell to calculate 3m 55.
Alternatively, you can create an event macro that changes the value in A1 (3h 55m) to 3m 55s by dividing A1 by 60.
I don't really recommend either of the latter two. KISS: just enter 3:55.0 or 0:3:55. Why not?
In all cases, you might also need to format the cell whose value is 3m 55 as Custom [m]:ss.
The reason is: Excel likes to do us "favors" and guess what format that we want. So we have to override its guess (sigh).
- JeenineOct 06, 2022Copper ContributorThanks for that. I didn't realise having to put the colon in was an important bit of the deal. Duh!! Bit of a thicko where tech is involved. Life is so much easier now,