Hi taylorsm.
Find these in the attached.
=TODAY() is in C1. This enables the formulas to get todays' date by reference rather than repeatedly invoking TODAY() in each cell. TODAY is volatile as well.
I also put an optional value in D1 for the number of months you want to "roll" back. It is referenced in the formula and give you some flexibility. If you'd prefer you can replace the reference to it in the formula below with a hard 6. I also used it to cross check my formula build.
In D4:G4 is a helper row that enables identifying the leave 'codes' by reference rather than hard coding them. It also permits you to use a single formula for all 4 columns.
Then this formula in D6:G19
Bookmarks