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
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!