Hi All
I have attached an example workbook which I need help on. The workbook has a userform which will allow the user to select a named person and enter the start date of when a pattern occurred and the number of days that it occurred for. This will then send the data onto two sheets one for availability reasons and the other to display how many times these patterns occur over.
I’m after help with the following:
If the pattern falls more than 12 months from today’s date it is highlighted in grey as it is considered as historic
If the pattern falls within the last 12 months from today’s date is considered current so highlighted in Yellow
I have tried the following formula for conditional formatting but I can’t get it to work: (unable to post code at the moment)
I’m not sure if my second ask is even possible! Is it possible to count the number of periods "P" has been entered where they fall within the last 12 months, A period would be classed as consecutive days as highlight in yellow where by weekends and cells contain "U" are ignored. The number of days in the patterns is not important, it’s the number of patterns that matter. I'm assuming that a macro would be the best option because of the potential size of the ask.
Thanks
Bookmarks