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
- 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!