Reference date above to carry on sequence when row moved
I have a formula that calculates the end date and I want the start date to equal the end date of the previous project. How do I have a cell reference a date from the previous row when the row is moved further down the list? I can only get it to reference one cell and then I have to redo the formula for the start date for the whole column.
Answers
-
You would first insert an auto-number column (formatting doesn't matter and called "Auto" in this example). Then you would insert a text/number column (called "Row" in this example) and enter the following column formula:
=MATCH(Auto@row, Auto:Auto, 0)
Then to pull in the date you would use:
=INDEX([End Date]:[End Date], Row@row - 1)
-
Thank you for the response. I added the "Auto" and "Row" columns with the INDEX formula but now I'm getting a circular reference error.
-
Thank you for the response. I added the "Auto" and "Row" columns with the INDEX formula but now I'm getting a circular reference error.
-
Thank you for the response. I added the "Auto" and "Row" columns with the INDEX formula but now I'm getting a circular reference error.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 141 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!