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
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 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!