CrossSheet SUM formula roadblock  any formula wizards who can help?
Hello!
I'm currently using a crosssheet formula to pull in multiple cells of numeric information in a column on 1 sheet and return as 1 cell in another. I'm doing this using a JOIN(COLLECT formula.
=JOIN(COLLECT({Dev Spend Auspice Tracker  Development Fees}, {Dev Spend Auspice Tracker  ID}, ID@row), SUBSTITUTE(HELPER#, "", ""))
That part is working, but what I actually need is a formula to sum these numbers, not roll them up.
My guess is that I'm not able to sum off of the formula column as the formula column is no longer recognizing the value as distinct #s.
Hoping someone here might be able to help me tweak my JOIN(COLLECT crosssheet formula to return the information as a SUM, instead of a rolling all cells together into 1?
For more clarity, the formula is looking at a sheet that has many projects, each with their own distinct ID, but there can be multiple rows associated with each project, and so multiple rows using the same ID. I'm trying to lump together only the costs associated with rows sharing the same ID.
(I've pasted the formula asis; I know the SUBTITUTE(HELPER function is what is creating the rollup view, but my efforts to delete that part and write in SUM have not worked)
Any help would be SO GREATLY APPRECIATED!!!
Thank you,
Laurka
Best Answer

Try a SUMIFS.
=SUMIFS({Dev Spend Auspice Tracker  Development Fees}, {Dev Spend Auspice Tracker  ID}, ID@row)
Also... It seems as if you are using the SUBSTITUTE function as the delimiter to possibly create a line break? If so, you can get rid of the helper column and replace the SUBSTITUTE with CHAR(10). This will insert the line break without the need for a helper column.
=JOIN(COLLECT({Dev Spend Auspice Tracker  Development Fees}, {Dev Spend Auspice Tracker  ID}, ID@row), CHAR(10))
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am  12:45pm!
Answers

Try a SUMIFS.
=SUMIFS({Dev Spend Auspice Tracker  Development Fees}, {Dev Spend Auspice Tracker  ID}, ID@row)
Also... It seems as if you are using the SUBSTITUTE function as the delimiter to possibly create a line break? If so, you can get rid of the helper column and replace the SUBSTITUTE with CHAR(10). This will insert the line break without the need for a helper column.
=JOIN(COLLECT({Dev Spend Auspice Tracker  Development Fees}, {Dev Spend Auspice Tracker  ID}, ID@row), CHAR(10))
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am  12:45pm!

Thank you, Paul Newcome!!
Both of your formulas work perfectly. And I feel pretty silly for not thinking of trying SUMIFS... sometimes I fail to see for the forest for the trees.
You've saved hours of strife on my end, I truly appreciate it!

Happy to help. 👍️
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am  12:45pm!
Help Article Resources
Categories
 All Categories
 14 Welcome to the Community
 Smartsheet Customer Resources
 62.8K Get Help
 376 Global Discussions
 207 Industry Talk
 438 Announcements
 4.5K Ideas & Feature Requests
 139 Brandfolder
 129 Just for fun
 130 Community Job Board
 449 Show & Tell
 30 Member Spotlight
 1 SmartStories
 284 Events
 33 Webinars
 7.3K Forum Archives
Check out the Formula Handbook template!