Collect and HAS Functions
I need to find the average dollar amount across a range only if the fiscal year IS 2018 and a multiselect column HAS a given value
=AVG(COLLECT([Funding Amount]:[Funding Amount], Subsector:Subsector, HAS(@cell "Cell Therapy"), [Fiscal Year]:[Fiscal Year], "2019"))
Is what I'm trying to do feasible?
Answers
-
Your formula should work. Are you getting an error? HAS only find exact matches. Confirm "Cell Therapy" is a response.
=AVG(COLLECT([Funding Amount]:[Funding Amount], Subsector:Subsector, HAS(@cell "Cell Therapy"), [Fiscal Year]:[Fiscal Year], "2019"))
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
Thanks Mark, yes it still returns "unparseable". Does the HAS function need to be nested within an IF function?
-
I am trying to do something similar. I think the problem is you have to put the search within HAS(). Mine are exact matches and nothing is working.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 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!