Calendar for Working Days Auto Entries - Almost Working

Isambard

New Member
Joined
Mar 6, 2014
Messages
9
Hi,

I'm trying to make what I'm sure ought to be a simple calendar to track two types of work arriving and the time that they must be dealt with in.

Work type 1 (addressed) has a receipt day and then three days to be dealt with (labeled day 1, day 2, etc). Work type two (unaddressed) has a receipt day and severn days to be dealt with (again labeled day 1, day 2, etc). Only working days count so where a Saturday or Sunday are in between two work days I just have them labeled "Saturday" and "Sunday". The user will enter a date in a collum on the left (for receipt date in collum C) and then a work type in colum B. There is only ever one period of work per row and it is always either 3 or 7 working days after the recipt day. Cells without work days should be blank.


I have the Saturday and Sunday set up quite happily but am struggling with the Monday to Friday formula which is a monster:

=IF($C3=E1,CONCATENATE("Receive ",$B3),IF(OR(D3="Receive Addressed",D3="Receive Unaddressed"),"Day 1",IF(D3="Day 1","Day 2",IF(D3="Day 2","Day 3",IF(D3="Sunday",IF(OR(B3="Receive Addressed",B3="Receive Unaddressed"),"Day 1",IF(B3="Day 1","Day 2",IF(B3="Day 2","Day 3",IF($B3="Unaddressed",IF(D3="Day 3","Day 4",IF(D3="Day 4","Day 5",IF(D3="Day 5","Day 6",IF(D3="Day 6","Day 7",IF(D3="Sunday",IF(B3="Day 3","Day 4",IF(B3="Day 4","Day 5",IF(B3="Day 5","Day 6",IF(B3="Day 6","Day 7",""))))))))))))))))))

This goes in E4 (the first Monday) and then I would copy paste it over the rest of the cells. There seem to be two problems. The cells that are not work days are showing "False" rather than being blank, and, more problematicly, the days only run correctly for days one through three. Cells after this just show false. I've poured over this all day and I cannot see where my formula is slipping up. If anyone can fix it, shorten it, or replace it with a VBA I would be eternally grateful.
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,214,945
Messages
6,122,393
Members
449,081
Latest member
JAMES KECULAH

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