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
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!