Sum Hours in a column by row name
Formula>> =SUMIF([Assigned To]:[Assigned To], [Assigned To]@row, [Hours Testing]:[Hours Testing])
Formula works if only on a single row. eg will produce the sum 3 next to "Armida"
When i copy the formula it reads Circular Reference.
*Goal is NOT to type name in formula "Armida". I'd like it to reference the row Assigned To - so if that testing user changes, they simple update the contact name "assigned to" and the formula works.
Top Section is a list of people and their role.
Bottom section i have a list of UAT scripts - then "Assigned To" "Hours Testing"
I'm trying in the top section to sum hours testing with the associated name in that row.
Best Answers
-
Hi @Angela.R ,
You're getting a circular reference because you're searching for names in the Assigned To column. When SS searches for rows that are assigned to Armida, it recognizes that row 1 is also assigned to Armida, so it tries to add the current cell to the other rows that meet that criteria.
The best way to do this would probably be to sum the data on a separate sheet. It's not ideal, but would be the best way to compile the data. There are other ways of doing this (sheet summary tab, moving the @row reference to a different column, etc.), but may be a little more involved.
Hope this helps!
Best,
Heather
-
The reason for the Circular Reference error is because you have the formula referencing the column that it is in. Smartsheet will only allow one instance of this.
There are a number of ways to work around this.
You could (as @Heather D suggested) pull your metrics onto another sheet.
You could move these calculations to a column that is not being referenced by the formula.
You could use Sheet Summary fields.
Answers
-
Hi @Angela.R ,
You're getting a circular reference because you're searching for names in the Assigned To column. When SS searches for rows that are assigned to Armida, it recognizes that row 1 is also assigned to Armida, so it tries to add the current cell to the other rows that meet that criteria.
The best way to do this would probably be to sum the data on a separate sheet. It's not ideal, but would be the best way to compile the data. There are other ways of doing this (sheet summary tab, moving the @row reference to a different column, etc.), but may be a little more involved.
Hope this helps!
Best,
Heather
-
The reason for the Circular Reference error is because you have the formula referencing the column that it is in. Smartsheet will only allow one instance of this.
There are a number of ways to work around this.
You could (as @Heather D suggested) pull your metrics onto another sheet.
You could move these calculations to a column that is not being referenced by the formula.
You could use Sheet Summary fields.
-
Okay, i've moved the formula to another column in the sheet " =SUMIF([Assigned To]:[Assigned To], =[Assigned To]@row, [Hours Testing]:[Hours Testing])"
Seems to be working.
I had it placed in my top section "Hours Testing" and moved to another column, and now it appears to total the sum hours of that @row user. If someone changes the contact filed "Assigned To" it will auto populate for that user name.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!