Forum Discussion

alexw94's avatar
alexw94
Copper Contributor
May 05, 2023

How to subtract the difference between 2 cells that contain DD:MM:YYYY HH:MM?

Hi Need help please.   What formula do do to get the difference between 2 DD:MM:YYYY HH:MM in HH:MM.    For instance - I tried simply subtracting the cells but I get this:   26/09/2022 13:09...
  • HansVogelaar's avatar
    HansVogelaar
    May 09, 2023

    alexw94 

    Thanks!

    The number format is hh:mm, not [hh]:mm as I suggested.

    If you change the number format to the custom format [hh]:mm, you'll see the correct duration:

    Workbook attached.

Resources