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
- 63.7K Get Help
- 406 Global Discussions
- 217 Industry Talk
- 456 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!