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
- 63.3K Get Help
- 386 Global Discussions
- 212 Industry Talk
- 446 Announcements
- 4.6K Ideas & Feature Requests
- 141 Brandfolder
- 132 Just for fun
- 131 Community Job Board
- 453 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 292 Events
- 35 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!