Hi there,
I am trying to put together a formula to bring back up to 6 specific dates which are specific months after an initial date.
E.g. 6 payments that are 6 months apart.
Here is an example with the formulas I've used (which are probably very long winded as I'm new to this!!) and this example is based on 6 payments that are 6 months apart.
NOTE: (N8) is the cell with the initial date in it
(AD4) is the number of months between payments as this may vary from 6.
(AF4) is the Payment 1 date of 30 April 2016
Initial date:
31 October 2015
Payment 1 - 30 April 2016 - FORMULA =DATE(YEAR(N8),MONTH(N8)+ad4,DAY(DATE(YEAR(N8),MONTH(N8)+ad4+1,0)))
Payment 2 - 31 October 2016 - FORMULA =DATE(YEAR(AF4),MONTH(AF4)+AD4,DAY(DATE(YEAR(AF4),MONTH(AF4)+AD4+1,0)))
Payment 3 - 30 April 2017 - FORMULA for the remaining payments is similar to the formula for Payment 2
Payment 4 - 31 October 2017
Payment 5 - 30 April 2018
Payment 6 - 31 October 2018
The above works nicely if the initial date is at the end of the month. However, if the initial date is not the last day of the month, say 15 October 2015 then I would like the formula to bring back 15 April, 15 October each time and this is what I'm stuck on because I need the formula to do both. E.g. if the day is not the last day of the month then bring back this, otherwise if it is then bring back this.
Hopefully that's reasonably clear and if someone is willing to help I'd be grateful!!
Thanks.
I am trying to put together a formula to bring back up to 6 specific dates which are specific months after an initial date.
E.g. 6 payments that are 6 months apart.
Here is an example with the formulas I've used (which are probably very long winded as I'm new to this!!) and this example is based on 6 payments that are 6 months apart.
NOTE: (N8) is the cell with the initial date in it
(AD4) is the number of months between payments as this may vary from 6.
(AF4) is the Payment 1 date of 30 April 2016
Initial date:
31 October 2015
Payment 1 - 30 April 2016 - FORMULA =DATE(YEAR(N8),MONTH(N8)+ad4,DAY(DATE(YEAR(N8),MONTH(N8)+ad4+1,0)))
Payment 2 - 31 October 2016 - FORMULA =DATE(YEAR(AF4),MONTH(AF4)+AD4,DAY(DATE(YEAR(AF4),MONTH(AF4)+AD4+1,0)))
Payment 3 - 30 April 2017 - FORMULA for the remaining payments is similar to the formula for Payment 2
Payment 4 - 31 October 2017
Payment 5 - 30 April 2018
Payment 6 - 31 October 2018
The above works nicely if the initial date is at the end of the month. However, if the initial date is not the last day of the month, say 15 October 2015 then I would like the formula to bring back 15 April, 15 October each time and this is what I'm stuck on because I need the formula to do both. E.g. if the day is not the last day of the month then bring back this, otherwise if it is then bring back this.
Hopefully that's reasonably clear and if someone is willing to help I'd be grateful!!
Thanks.