Hi Everyone
I’m sure that this has been done before but I can’t seem to get anything I try to work
Im looking to create a forula filoed that looks up and displays the PAYE Month a date in another field falls into for example 17/04/2024 would lookup and display PAYE Month 1
02/10/2024 would display PAYE month 6
20/08/2025 would display PAYE Month 5
I am dealing with the tax year in another field so I dont want to worry about the year
below is the parameters I have tried if statements I have tried a switch example but cant get anything to work
I have tried setting a year start date and using dateAdd to add on the number days after the year start but I just not getting anything to work right
If someone could point me in the right direction I would be really gratefull
Cheers
Jackie
From Date | To Date | Days Between | No. Days from start of tax year | Should Display | ||
6th | april | 5th | May | 29 | 29 | PAYE MONTH 1 |
6th | may | 5th | June | 30 | 59 | PAYE MONTH 2 |
6th | june | 5th | July | 29 | 88 | PAYE MONTH 3 |
6th | july | 5th | August | 30 | 118 | PAYE MONTH 4 |
6th | august | 5th | September | 30 | 148 | PAYE MONTH 5 |
6th | september | 5th | October | 29 | 177 | PAYE MONTH 6 |
6th | october | 5th | November | 30 | 207 | PAYE MONTH 7 |
6th | november | 5th | December | 29 | 236 | PAYE MONTH 8 |
6th | december | 5th | January | 30 | 266 | PAYE MONTH 9 |
6th | january | 5th | February | 30 | 296 | PAYE MONTH 10 |
6th | february | 5th | March | 27 | 323 | PAYE MONTH 11 |
6th | march | 5th | April | 30 | 353 | PAYE MONTH 12 |