Multiple If statements and issues with nesting. Help please?

MaceL205

New Member
Joined
Sep 7, 2014
Messages
1
=IF(WEEKDAY('WEEK 37'!M3,2)=1,WORKDAY('WEEK 37'!N3+4,0),IF(WEEKDAY('WEEK 37'!M3,2)=2,WORKDAY('WEEK 37'!N3+3,0)),IF(WEEKDAY('WEEK 37'!M3,2)=3,WORKDAY('WEEK 37'!N3+2,0)),IF(WEEKDAY('WEEK 37'!M3,2)=4,WORKDAY('WEEK 37'!N3+2,0)),IF(WEEKDAY('WEEK 37'!M3,2)=5,WORKDAY('WEEK 37'!N3+1,0)))

So I want the formula to work out what date certain tasks can be completed. Say I have a task that can only be completed on a certain day such as a friday. Now based off of another tab which takes into account Leadtimes based on operation, I've also managed to make the sheet quantify my max output and plan when tasks need to begin and even to end up giving me a simple output plan based on the capacities involved. What I'm trying to acheive is that one of the operations can only be completed on mondays wednesday's or fridays. so rather than have to manually enter this data in on each weekly plan, I want a formula to be able to work out which date it can be worked on through that operation.

is there a way to do this at all? the above formula gives me errors due to too many arguments.

Thanks
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

Forum statistics

Threads
1,218,947
Messages
6,145,385
Members
450,613
Latest member
Chalky1982

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