Reference Cell by Relative Location in a Column Formula
I need a means in formula, that would be used as a column formula, to reference a cell using its relative location...like an "@row-1". Is there a way to do this in Smartsheet?
Answers
-
Hey @RKLRpp
Yes, one can build column formulas to reference row -1. Typically this will take at least one helper column to do - you may already have it included in your sheet. The COLLECT function will be part this solution.
In the sheet you are using, are your rows added in chronological order (adding to the bottom?) and are the rows are ever slid up or down the sheet to a new position?
Is it possible to share a screenshot (remove sensitive info)? This will help me help you build your specific formula.
Kelly
-
Kelly- tried a solution that mostly works...have an "Auto" column that just numbers rows, and "Row" function column that has the formula =MATCH(Auto@row, Auto:Auto, 0). This "Row" helper column seems to count positionally even if I insert a new row and the "Auto" column numbers chronologically by when row was introduced to the sheet.
With those I am able to reference with Row@row-1 or Row@row+1 (but only in some function types, I was successful with INDEX) .
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!