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!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.9K Get Help
- 441 Global Discussions
- 153 Industry Talk
- 500 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 78 Community Job Board
- 511 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!