Forum Discussion

Sabby02's avatar
Sabby02
Copper Contributor
Aug 24, 2023

Dates

Hello, i need to format a cell. i have a column that has employee start dates in & then in the other Cell i would like it to 'calculate time with the company', so almost like a live update so that each time i go into the spreadsheet the 'Time with the company' has updated by a day. hope this makes sense 

6 Replies

  • leoperdia's avatar
    leoperdia
    Brass Contributor

    Hi Sabby02  you can use Today() function and do calculation on it. Today function take current date

     

     

    Time with the Company(Days): =TODAY()-Start date cell value

    Time with the Company(years): =(TODAY()-Start date cell value)/365

     

    I hope it help you

    Regards

    https://www.upwork.com/freelancers/~01cf0fc8446b00f44c 

     

     

  • Sabby02 

    =DATEDIF(A2,TODAY(),"d")

     

    If the employee start dates are in range A2:A100 you can enter this formula in cell B2 and fill it down to cell B100.

Resources