SUM function not working on cells with formula
Hi,
I faced an issue with the SUM function, since it seems to not work on a column in which the cells contain a formula to return a number.
The cells that i want to SUM contain (JOIN(COLLECT)) formulas that pull data from another sheet. When I insert =SUM([Total Price]1:[Total Price]70) the SUM just returns 0. Also if I highlight the column by clicking on the header the SUM is not showing up in lower right corner as it does otherwise. The type of the column is Text/Number.
What am I missing for the SUM to work properly?
Thank you for any advice in advance.
Dora
Best Answer
-
Or wrap your JOIN/COLLECT in a VALUE statement to convert it to a numerical value after being pulled by the original formula.
=VALUE(original formula)
Answers
-
Hi @Dora Berky,
I believe this is happening because the JOIN function combines a range of cells into a string (with optional delimiters between the values). In order to sum this range of cells, you must remove the JOIN function.
If needed, more information on JOIN can be found here: https://help.smartsheet.com/function/join
I hope this helps!
-
Or wrap your JOIN/COLLECT in a VALUE statement to convert it to a numerical value after being pulled by the original formula.
=VALUE(original formula)
-
Thank you for the advises! Adding the VALUE statement solved the issue, I will use this from now on :)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!