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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!