Identify row number
Hi,
I need to calculate the cumulative of expenses in my sheet, I used the below formula:
=SUM($[Expenses]$1:[expenses]@row)
However when I sort the sheet, and row 1 for example become row 12, the formula will update itself to:
=SUM($[Expenses]$12:[expenses]@row)
Is there a way to fix this so the formula is not affected by sorting
Thanks
Fadi
Answers
-
Have you considered using the sheet summary data?
Using Sheet summary will keep your roll-up data from getting resorted into the main data. And you can use that sheet summary data to capture all different kinds of information from your main sheet.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 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
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!