Please can you help me with the following formula. I am trying to get a colour coded calendar which will show a date but when it falls on a weekend it highlights the previous Friday. The formula entered in cell AD2 on worksheet Calendar is
=IF(Notes!H18>=1,DATE(YEAR(Notes!H18),MONTH(Notes!H18)+21,DAY(Notes!H18)),DATE(YEAR(Notes!H15),MONTH(Notes!H15)-3,DAY(Notes!H15)))
This highlights the dates based on my criteria but it is showing on a Sunday. The result of my formula could be any date in the year depending on the criteria set on the worksheet called Notes.
I have attached a file which will hopefully help. I also require the same assistance with the formula AD8 on the same sheet which needs to avoid weekends also.
If I have attacked this from the wrong angle please advise. Any help is greatly appreciated.
Bookmarks