Forum Discussion

Justalex_BTW's avatar
Justalex_BTW
Copper Contributor
Apr 22, 2024
Solved

Change value of a cell based on the date in another cell.

Hello,   I am trying to set up an Excel sheet for work. In column E, there is a date for each row. If that cell's date is less than or equal to one year from today's date, I need it to change the v...
  • HansVogelaar's avatar
    Apr 22, 2024

    Justalex_BTW 

    In C2:

     

    =IF(E2="", "", IF(E2<=EDATE(TODAY(), 12), 1, 2))

     

    Fill down.

Resources