Sum if not blank
Hi
I'm trying to sum 3 columns, if they are not blank (I am currently using the following formula:
=ISBLANK(SUMIF(Likelihood@row:Proximity@row, >0, Likelihood@row:Proximity@row), " ")
However, I'm getting a #incorrectargumentset error. I think it's something to do with my brackets, but what am I doing wrong?
Best Answer
-
Now I get it.
Try something like this.
=IF(COUNT(Likelyhood@row:Proximity@row) < 1, "", SUMIF(Likelyhood@row:Proximity@row, <>""))
Did that work?
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Answers
-
I hope you're well and safe!
Try something like this.
=SUMIF(Likelihood@row:Proximity@row, <>"")
Did that work/help?
I hope that helps!
Be safe and have a fantastic week!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
I'm good thanks Andree. Hope you are too?
It works but returns a zero, ideally this could just do with staying blank.
Thanks
-
I'm excellent!
It works for me. Can you share the formula you used and maybe a screenshot?
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
-
Do you want to sum the row or the columns?
If it's the row, it's correct. It should be 0 because the cells are empty, or have I misunderstood what you need?
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
I want to sum the row but, I would like it to show as blank if there are no numbers in the previous 3 columns. This scoring is only applicable to Risks recorded on the project RAID log so, if an issue is recorded scoring will not be applied therefore, I would want the score to remain blank.
Would I be better with a sumif, based on type e.g:
=SUMIF(Type:Type, "Risk", [Likelihood@row:Proximity@row])
although this formula doesn't work but, you get the idea, I'm sure.
Thanks
Cheryl
-
Now I get it.
Try something like this.
=IF(COUNT(Likelyhood@row:Proximity@row) < 1, "", SUMIF(Likelyhood@row:Proximity@row, <>""))
Did that work?
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Perfect! That's cracked it. Thanks so much as ever for your help. 😊
-
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.6K Get Help
- 403 Global Discussions
- 215 Industry Talk
- 454 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 56 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!