Question with using IFERROR(INDEX(COLLECT formula
I am trying to use the index/collect statement to pull the job number based off of the PO # and the Part #. If there is nothing, then I want it to leave the cell blank. However, I get an "#INCORRECT ARGUMENT SET" error.
This is the formula:
=IFERROR(INDEX(COLLECT({Job #}, {PO #}, [PO Number]@row, {Part #}, [Part Number]@row, "")))
Am I getting an error due to the "#" sign used for the headers on the reference sheet?
Thanks!
Best Answer
-
I think you just have some parentheses in the wrong spots and are missing a row index. Try this:
=IFERROR(INDEX(COLLECT({Job #}, {PO #}, [PO Number]@row, {Part #}, [Part Number]@row), 1), "")
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
Answers
-
I think you just have some parentheses in the wrong spots and are missing a row index. Try this:
=IFERROR(INDEX(COLLECT({Job #}, {PO #}, [PO Number]@row, {Part #}, [Part Number]@row), 1), "")
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
-
That worked, thank you!!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.1K Get Help
- 430 Global Discussions
- 149 Industry Talk
- 490 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 154 Just for fun
- 74 Community Job Board
- 499 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!