Forum Discussion

Jonathan Lollis's avatar
Jonathan Lollis
Copper Contributor
Jun 28, 2018

Count Down Timer showing Days, hours, minutes and seconds

I am attempting to create a spreadsheet to track my employment history with my current company. I would like to include a cell that shows a live countdown for the number of days, hours, minutes and seconds until my next anniversary date. The screenshot below is my spreadsheet, and cell I10 is my counter. I tried formatting it as dd:hh:mm:ss, but as you can see, it is displaying 97 days (minus a few hours, minutes and seconds) as 5 days. Is there a way to correct this either through formatting or possibly a VBA script to run to accomplish the same?

 

 

  • Detlef_Lewin's avatar
    Detlef_Lewin
    Silver Contributor

    Jonathan,

     

    you can only show max 31 days with format dd:hh:mm:ss because Excel really doesn't display the number of days but the day in the month (since 00.01.1900). 31 means 31.01.1900. After 31 (31.01.1900) comes 01 (01.02.1900) and after 60 (29.02.1900) comes 01 (01.03.1900) again and so on.

     

Resources