JoshLyman
New Member
- Joined
- Jan 11, 2023
- Messages
- 35
- Office Version
- 365
- 2010
- Platform
- Windows
I'm sure this is very easy to achieve, but my brain is failing me. Essentially I need to calculate the number of times the last day of the month has been reached between 2 dates. I've tried using DATEDIF but it's not working as I expected and is giving me different results if the day of the month for the second date is before the day of the month of the first;
e.g.,
In the above example, I want it always say 12. Unless date 2 is that last day of the month, in which case I want it to say 13.
e.g.,
In the above example, I want it always say 12. Unless date 2 is that last day of the month, in which case I want it to say 13.