Unparseable Error
Good day Smartsheet Team,
Getting an unparseable error on this formula:
=IF($Name@row <> "",(SUMIFS({Expense}, {Period},1, {Type}, OR(@cell = "RES602782", @cell = "RES602497")),"")
Trying to pull in all expenses from period 1 that have a type of RES602782 and RES602497.
Probably been looking at it too long but can't seem to get it parse. Thanks.
Best Answer
-
Right away with out looking into it too much. You have a syntax error. SUMIFS does not work with OR and AND statements. Instead you would have to do two separate formulas and add them together.
=IF(Name@row <> "", (SUMIFS({Expense}, {Period}, 1, {Type}, "RES602782") + SUMIFS({Expense}, {Period}, 1, {Type}, "RES602497")), "")
See if this fixes the problem for you.
If you found this comment helpful. Please respond with any of the buttons below. Awesome🖤, Insightful💡, Upvote⬆️, or accepted answer. Not only will this help others searching for the same answer, but help me as well. Thank you.
Answers
-
Right away with out looking into it too much. You have a syntax error. SUMIFS does not work with OR and AND statements. Instead you would have to do two separate formulas and add them together.
=IF(Name@row <> "", (SUMIFS({Expense}, {Period}, 1, {Type}, "RES602782") + SUMIFS({Expense}, {Period}, 1, {Type}, "RES602497")), "")
See if this fixes the problem for you.
If you found this comment helpful. Please respond with any of the buttons below. Awesome🖤, Insightful💡, Upvote⬆️, or accepted answer. Not only will this help others searching for the same answer, but help me as well. Thank you.
-
Yes. It. Does. Thanks Mark! Just starting to get used to the Excel > Smartsheet translation and this was very helpful and instructive.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.7K Get Help
- 438 Global Discussions
- 152 Industry Talk
- 497 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 509 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!