Hi Gos-C,

I have replaced the Input boxes by a userform, because I think this is more elegant. The part that determines if it is within the same quarter can be found in the code of the userform within the attached workbook.Quarter.xlsm.

I am pretty sure you can reapply easily.


Regards

Theo

P.S. Don't forget to close your thread if your issue is solved. Consider to thank those who helped you, by clicking on the star to the left of the helpers reply!