Sum(Collect Calculation giving #Circular Reference Error
=SUM(COLLECT({Forecast Amount}, {Customer}, $Label@row, {Sales Stage}, Qualification$1))
That is the calculation I am using bring forecast sales based on Customer and Sales Stage into a metrics collection sheet. I am going out to the Sales Pipeline sheet for the information, two (2) sheet prints attached for reference.
This is the actual metric collection sheet
This is the Sales Pipeline, some fields are hidden simply to provide better viewing.
I build these metrics all the time, but not with the sum function only with the count function. So what am I missing?
Answers
-
The following formula works.
=SUM(COLLECT({Forecast Amount}, {Customer}, Label@row, {Sales Stage}, "Qualification"))
(Link to published demo sheet)
I could recreate your #CIRCULAR REFERENCE error by referencing Qualification$1 in the first row.
If you want to somehow put "Qualification" at the first row, make the formula a cell formula like the one in [Qualificatin 1].
The correct approach is simply putting the "Qualification" text as the COLLECT condition.
[Qualification] =SUM(COLLECT({Forecast Amount}, {Customer}, Label@row, {Sales Stage}, Qualification$1))
[Qualification 1] =SUM(COLLECT({Forecast Amount}, {Customer}, Label@row, {Sales Stage}, [Qualification 1]$1))
[Qualification 2]=SUM(COLLECT({Forecast Amount}, {Customer}, Label@row, {Sales Stage}, "Qualification"))
[Discovery]=SUM(COLLECT({Forecast Amount}, {Customer}, Label@row, {Sales Stage}, "Discovery"))
Sample Sales Pipeline Data
-
Perfect, thank you!
-
Happy to help!😁
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.4K Get Help
- 364 Global Discussions
- 202 Industry Talk
- 430 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 446 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 284 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!