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
- Smartsheet Customer Resources
- 62.5K Get Help
- 367 Global Discussions
- 202 Industry Talk
- 432 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 447 Show & Tell
- 29 Member Spotlight
- 1 SmartStories
- 285 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!