Combining If and Workday function

Jammydodger182

New Member
Joined
Jan 10, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi there

I’m trying to make a spreadsheet for work which will allow me to track daily assessments.
Basically, we either get two types of assessments to do - S17 and S47

mom trying to figure out how I create a formula that generates deadline dates for each assessment from the date it was received. The formula I’m using doesn’t exclude weekends and I can understand why not...

Timeframe for each assessment:

S17 - 5 working days to visit - 15 working days to complete the assessment
S47 - 1 working day to visit - 5 working days to complete the assessment

The formula so far for visits is...
=WORKDAY(A2+IF(D2=“S17”,5,IF(D2=“S47”,1,))-0,0)

this formula does not take into account weekend when I extend the deadline timescales from 5 to 45 for example.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
2 alternatives. I am not sure "15 days to complete".

Date and Time 2021.xlsm
ABCDEF
1VisitComplete
2Fri 08-Jan-21S47Mon 11-Jan-21Fri 15-Jan-21
3Fri 08-Jan-21S47Mon 11-Jan-21Fri 15-Jan-21
1b
Cell Formulas
RangeFormula
E2E2=WORKDAY(A2,IF(D2="S17",5,IF(D2="S47",1,0)))
F2F2=WORKDAY(A2,IF(D2="S17",15,IF(D2="S47",5,0)))
E3E3=WORKDAY(A3,1+(D3="S17")*4,0)
F3F3=WORKDAY(A3,5+(D3="S17")*10,0)
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top