I have a spreadsheet that sets up a training schedule. When I enter the hire date, the due date will be set according to the amount of training needed for that task. This is determined by a numerical value in column A.
=IF(A4="o",($B$2),IF(A4=1,($B$2+5),IF(A4=2,($B$2+30),IF(A4=3,($B$2+60),IF(A4=4,($B$2+90),B2)))))
This formula works fine.
There is also a column where I enter the date I started the training. This will tell me how many days overdue the task was and stop adding any more days.
The problem is the days overdue. Here is what I have in the "Days Overdue" column.
=IF(E4="",DATEDIF(D4,TODAY(),"d"),DATEDIF(D4,E4,"d"))
"E4" is in the "Training Started" column.
"D4" is in the "Due Date" column.
If the due date is greater than TODAY(), I get #NUM.
If I input a date after the future due date in column "E" it returns #VALUE.
If this is confusing I can send a scaled down version of the spreadsheet to someone.
=IF(A4="o",($B$2),IF(A4=1,($B$2+5),IF(A4=2,($B$2+30),IF(A4=3,($B$2+60),IF(A4=4,($B$2+90),B2)))))
This formula works fine.
There is also a column where I enter the date I started the training. This will tell me how many days overdue the task was and stop adding any more days.
The problem is the days overdue. Here is what I have in the "Days Overdue" column.
=IF(E4="",DATEDIF(D4,TODAY(),"d"),DATEDIF(D4,E4,"d"))
"E4" is in the "Training Started" column.
"D4" is in the "Due Date" column.
If the due date is greater than TODAY(), I get #NUM.
If I input a date after the future due date in column "E" it returns #VALUE.
If this is confusing I can send a scaled down version of the spreadsheet to someone.