Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Recogition of days in a date Hi All, I am using the following formula (in the \"

ID: 3563379 • Letter: R

Question

Recogition of days in a date

Hi All,

I am using the following formula (in the "Results" column) in a spreadsheet set up for scheduling where if the start of the following task falls on a Saturday or sunday, the start date of that task defaults to the Monday. I have shown a copy of the results. What have I done wrong?

=IF(WEEKDAY(J15+I15,2)=6,J15+I15+2,IF(WEEKDAY(J15+I15,2)=7,J15+I15+1,J15+I15))

Duration (Days) Date Entered Result 1 Friday, 29 August 2014 Monday, 1 September 2014 2 Friday, 29 August 2014 Monday, 1 September 2014 3 Friday, 29 August 2014 Monday, 1 September 2014 4 Friday, 29 August 2014 Tuesday, 2 September 2014 5 Friday, 29 August 2014 Wednesday, 3 September 2014 6 Friday, 29 August 2014 Thursday, 4 September 2014 7 Friday, 29 August 2014 Friday, 5 September 2014 8 Friday, 29 August 2014 Monday, 8 September 2014 9 Friday, 29 August 2014 Monday, 8 September 2014 10 Friday, 29 August 2014 Monday, 8 September 2014 11 Friday, 29 August 2014 Tuesday, 9 September 2014 12 Friday, 29 August 2014 Wednesday, 10 September 2014 13 Friday, 29 August 2014 Thursday, 11 September 2014 14 Friday, 29 August 2014 Friday, 12 September 2014

Explanation / Answer

Hi,

Your formula can be reduced to this

=WORKDAY(B2,A2)

B2 has the start date and A1 has duration.

Hope this helps.