That will be a complex algorithm and doing what you did will not be all .. you will need to be fancier than that
Work out on a piece of paper all the ways to get to your goal. The fact you want the Sunday and the Monday then a Sunday is going to be tricky..
Sounds like you need and & in there .. This is all part of our jobs... think it through ��
Good luck
Steve C.
Nothing in this message is intended to constitute an electronic signature unless a specific statement to the contrary is included in this message.
Confidentiality Note: This message is intended only for the person or entity to which it is addressed. It may contain confidential and/or privileged material. Any review, transmission, dissemination or other use, or taking of any action in reliance upon this message by persons or entities other than the intended recipient is prohibited and may be unlawful. If you received this message in error, please contact the sender and delete it from your computer.