IFERROR INDEX COLLECT if greater than 0 issue
I am trying to collect from a separate sheet the counts of holds if the site matches and if the count of holds is greater than 0.
I am trying to collect the Count of holds if the site matches if the count of holds is greater than 0. Can someone please help me try to collect this.
I tried below and did not work:
=IFERROR(INDEX(COLLECT({Count of Holds}, MATCH(Site@row), {Site}, ">0")))
Best Answer
-
Your syntax is off, and you shouldn't need a MATCH function if you are using a COLLECT function.
=IFERROR(INDEX(COLLECT({Count of Holds}, {Count of Holds}, @cell> 0, {Site}, @cell = Site@row), 1), "")
Answers
-
Your syntax is off, and you shouldn't need a MATCH function if you are using a COLLECT function.
=IFERROR(INDEX(COLLECT({Count of Holds}, {Count of Holds}, @cell> 0, {Site}, @cell = Site@row), 1), "")
-
It Worked! thank you so much Paul! You are the best!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!