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
- 66.2K Get Help
- 431 Global Discussions
- 152 Industry Talk
- 490 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 74 Community Job Board
- 501 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 306 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!