Hello
I'm not sure if this can be done via a formula or if VB is required.
I have some maternity pay calculations and I need the paydate cells to be 25th of whatever the month is.
For example:
Employee goes on mat leave on 23 March, so the paydate cell needs to be 25 March, if they go on mat leave on 1 April, pay date is 25 April.
I have used EDATE to move the month on: =EDATE(E15,0) but E15 is 23 March, so it gives me 23 March, if I used =EDATE(E15,1), it gives me 23 April.
But I need 25th and I'm not sure where to start looking.
Any help gratefully received.
thank you!
thank you for helping
____________
Pendle
I'm not sure if this can be done via a formula or if VB is required.
I have some maternity pay calculations and I need the paydate cells to be 25th of whatever the month is.
For example:
Employee goes on mat leave on 23 March, so the paydate cell needs to be 25 March, if they go on mat leave on 1 April, pay date is 25 April.
I have used EDATE to move the month on: =EDATE(E15,0) but E15 is 23 March, so it gives me 23 March, if I used =EDATE(E15,1), it gives me 23 April.
But I need 25th and I'm not sure where to start looking.
Any help gratefully received.
thank you!
thank you for helping
____________
Pendle