Conditional formulas with multi-select contact list
I have a formula like this with a cross-sheet reference:
=SUMIF({Owner Range}, Owner@row, {Sum Range})
where Owner is a contact and Owner Range is a multi-select contact list. Some cells have multiple contacts in them and do not count towards this sum. How do I create a formula that will sum any cell containing Owner@row?
Best Answers
-
You would need the HAS function:
=SUMIF({Owner Range}, HAS(@cell, Owner@row), {Sum Range})
-
I hope you're well and safe!
You'd use the HAS function.
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 support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. 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.
Answers
-
You would need the HAS function:
=SUMIF({Owner Range}, HAS(@cell, Owner@row), {Sum Range})
-
I hope you're well and safe!
You'd use the HAS function.
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 support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. 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.
-
Hi - How do I add a date range filter or lookup to this formula? I think the above formula will work for my needs but I also need to add a condition that the date must be within a specified range.
-
Hi @SB MS, you should be able to use a SUMIFS formula to add another condition or two restricting the dates to a specific range.
-
@SB MS You will need to use a SUMIFS to include additional range/criteria sets.
=SUMIFS({Sum Range}, {Owner Range}, HAS(@cell, Owner@row), {Date Range}, AND(@cell>= DATE(yyyy, mm, dd), @cell<= DATE(yyyy, mm, dd)))
-
@Paul Newcome Thank you! Thank you so much - worked perfectly. I've been trying to figure this out for months!
-
@SB MS Happy to help. 👍️
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!