Forum Discussion
ianwuk
Nov 20, 2018Iron Contributor
How to automatically fill rows with dates based on cell value?
Hi Everyone. I have a spreadsheet that looks like this: How can I make it for whatever number I put in B2 it takes the date in A4 and extends it by the number of months from B2 and a...
- Nov 20, 2018
Hi,
I think the most robust way to do this is as follows:
- Link cell A4 to the cell B2 by just using this formula in cell A4 =B2
- Then use this formula in the cell A5 =IF(ROW(A1)>=$B$1,"",EDATE($A$4,ROW(A1)))
- And then drag it down to whatever limit you want
Please find this in the attached file.
Hope that helps
Haytham Amairah
Nov 20, 2018Silver Contributor
Hi,
I think the most robust way to do this is as follows:
- Link cell A4 to the cell B2 by just using this formula in cell A4 =B2
- Then use this formula in the cell A5 =IF(ROW(A1)>=$B$1,"",EDATE($A$4,ROW(A1)))
- And then drag it down to whatever limit you want
Please find this in the attached file.
Hope that helps
ianwuk
Nov 20, 2018Iron Contributor
Thanks for replying. Is there any way for the new date cells to be added automatically when I put a number in to cell B2?
Thanks.
Thanks.