Copy cell above in formula
I have created this formula:
=IF([is Child]@row = "T", [Estimate Number (1)]1814, VALUE([Estimate #]@row))
I am trying to copy the estimate number from the row above if the current row is a child. Works fine until the sheet is sorted. How do I change this formula parameter "[Estimate Number (1)]1814" to copy the cell above no matter what the row number.
I was trying something like "[Estimate Number (1)]@row-1", with no luck.
Is this possible?
Thanks
Answers
-
Hi @Chuck Mertz
I would suggest to use an helper column that replicates row numbers.
Simply type in row 2 =Row1 +1 then drag this formula all the way down. (Row 1 being equal to 1).
Then use some INDEX/MATCH to return the value you want to return in your Child formula.
Watch out though when sorting sheets, it tends to mess up with formula with rows numbered in it...
Hope it helped!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 58 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!