Welcome to the Smartsheet Forum Archives
The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.
Sum every other row
Comments
-
there is no row number function in smartsheets (there's also no mod function, btw)
you might try creating another column with a checkbox, and summing the rows where the checkbox is checked or unchecked.=SUMIFf(CHECKBOX1:CHECKBOX119,=1,WIN1:WIN119)
If you are insistent on odd/even, you could create a column with row numbers see https://community.smartsheet.com/discussion/formula-determine-row-number?_ga=2.214206103.1028967354.1509986821-1501603503.1503930282
then assuming new column ROW
=SUMIFf(ROW:ROW119,@cell/2 = int(@cell/2),WIN1:WIN119) for even (change to <> for odd)
-
Be careful of solutions for this (mine or anyone else's) if you or your users move rows around or delete them. It tends to mess up the formula references (by design, I'm not implying this is a bug, it is just a known issue with solutions like this)
For a check box column (named CheckBox), this formula
=NOT([CheckBox]1)
in row 2 and then copied to the rest of the column (but not row 1), will check alternate rows.
Craig
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