Forum Discussion

Jeenine's avatar
Jeenine
Copper Contributor
Oct 02, 2022
Solved

Time in Excel

Has anyone an idea how I can change the time format for cells.  I want to put in Minutes and seconds on my discography but cannot find an easy way to do this.  Format only allows Hours minutes and se...
  • JoeUser2004's avatar
    JoeUser2004
    Oct 05, 2022

    Jeenine 

     

    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).

Resources