I'm trying to build something to calculate a due date, but am running into some issues with calculating workdays where the start date is a non-workday.
Scenario
Item is received on 7/29/18. The deadline should be 2 working days. This formula pushes the due date to 7/31, but I need for it to say 8/1/18.
=WORKDAY(D11,2,Variables!D$2:D$11)
I started down the path of an IF statement, but I'm not sure how I can write to evaluate the difference between the start date being a Saturday, Sunday or holiday.
=IF(WORKDAY(D11,0),WORKDAY(D11,2,Variables!D$2:D$11))
FYI...the range on the Variables tab is a list of holidays.
I'd like to avoid building another helper column if possible, as there are downstream spreadsheets that leverage the current layout. I'm not sure if I need to try something in VBA instead of a direct formula.
Thoughts?
Scenario
Item is received on 7/29/18. The deadline should be 2 working days. This formula pushes the due date to 7/31, but I need for it to say 8/1/18.
=WORKDAY(D11,2,Variables!D$2:D$11)
I started down the path of an IF statement, but I'm not sure how I can write to evaluate the difference between the start date being a Saturday, Sunday or holiday.
=IF(WORKDAY(D11,0),WORKDAY(D11,2,Variables!D$2:D$11))
FYI...the range on the Variables tab is a list of holidays.
I'd like to avoid building another helper column if possible, as there are downstream spreadsheets that leverage the current layout. I'm not sure if I need to try something in VBA instead of a direct formula.
Thoughts?