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
- Customer Resources
- 67.1K Get Help
- 450 Global Discussions
- 155 Industry Talk
- 505 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 514 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!