Excel 2007: How to display mm:ss format not as a DateTime (e.g. 73:07)?

后端 未结 7 481
情歌与酒
情歌与酒 2021-01-07 17:42

I need to create and Excel table that computes daily training times. each row has the following fields: Date, Distance, Time and Minutes/Km.
My main problem is that I w

7条回答
  •  耶瑟儿~
    2021-01-07 18:09

    Excel shows 24:03 as 3 minutes when you format it as time, because 24:03 is the same as 12:03 AM (in military time).

    Use General Format to Add Times

    Instead of trying to format as Time, use the General Format and the following formula:

    =number of minutes + (number of seconds / 60)

    Ex: for 24 minutes and 3 seconds:

    =24+3/60

    This will give you a value of 24.05.

    Do this for each time period. Let's say you enter this formula in cells A1 and A2. Then, to get the total sum of elapsed time, use this formula in cell A3:

    =INT(A1+A2)+MOD(A1+A2,1)

    Convert back to minutes and seconds

    If you put =24+3/60 into each cell, you will have a value of 48.1 in cell A3.

    Now you need to convert this back to minutes and seconds. Use the following formula in cell A4:

    =MOD(A3,1)*60

    This takes the decimal portion and multiples it by 60. Remember, we divided by 60 in the beginning, so to convert it back to seconds we need to multiply.

    You could have also done this separately, i.e. in cell A3 use this formula:

    =INT(A1+A2)

    and this formula in cell A4:

    =MOD(A1+A2,1)*60

    Here's a screenshot showing the final formulas:

    adding times

提交回复
热议问题