Prior Year SUMIFS with multiple dropdown selections
Hi - I'm trying to figure out how to make this formula work. I've tried several different ways of listing the Status options and it keeps saying #UNPARSABLE.
I'm trying to get the dollar amount of rows that meet criteria in three columns: Source, Status, and Date Received. Source and Status are both multiple dropdown columns - for Source I want to use CONTAINS and then for Status I need to list several options that it should use.
Here is what I have currently:
=SUMIFS(TOR:TOR, Source:Source, CONTAINS("GSD", (@cell)), [Status]:[Status], OR(@cell = “Win”, @cell = “Win_Contract Negotiations”, @cell = “Submitted_Pending Award_BAFO”, @cell = “Submitted_Pending Award”, @cell = “Loss”, @cell = “Disqualified”, @cell = “Cancelled Procurement (Post Submission)”)), [Date Received]:[Date Received], IFERROR(YEAR(@cell), 0) = 2020)))
Thank you!
Best Answer
-
You just have a couple of extra parenthesis tucked in throughout.
I also see "smart quotes" here and there. Notice how some are slanted and some are straight up and down? The slanted ones come from programs such as Microsoft Word. These are "smart quotes" and they will break a formula. You will want to remove those and retype them either here in the community, in smartsheet directly, or a text editor such as Notepad.
I did remove the extra parenthesis below though.
=SUMIFS(TOR:TOR, Source:Source, CONTAINS("GSD", @cell), [Status]:[Status], OR(@cell = “Win”, @cell = “Win_Contract Negotiations”, @cell = “Submitted_Pending Award_BAFO”, @cell = “Submitted_Pending Award”, @cell = “Loss”, @cell = “Disqualified”, @cell = “Cancelled Procurement (Post Submission)”), [Date Received]:[Date Received], IFERROR(YEAR(@cell), 0) = 2020)
Answers
-
You just have a couple of extra parenthesis tucked in throughout.
I also see "smart quotes" here and there. Notice how some are slanted and some are straight up and down? The slanted ones come from programs such as Microsoft Word. These are "smart quotes" and they will break a formula. You will want to remove those and retype them either here in the community, in smartsheet directly, or a text editor such as Notepad.
I did remove the extra parenthesis below though.
=SUMIFS(TOR:TOR, Source:Source, CONTAINS("GSD", @cell), [Status]:[Status], OR(@cell = “Win”, @cell = “Win_Contract Negotiations”, @cell = “Submitted_Pending Award_BAFO”, @cell = “Submitted_Pending Award”, @cell = “Loss”, @cell = “Disqualified”, @cell = “Cancelled Procurement (Post Submission)”), [Date Received]:[Date Received], IFERROR(YEAR(@cell), 0) = 2020)
-
Oh, geeze - that's what I get for using a blank email. Thank you so much!
-
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!