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
 10.7K Get Help
 63 Global Discussions
 69 Industry Talk
 385 Announcements
 3.5K Ideas & Feature Requests
 55 Brandfolder
 125 Just for fun
 50 Community Job Board
 464 Show & Tell
 40 Member Spotlight
 44 Power Your Process
 28 Sponsor X
 234 Events
 7.3K Forum Archives
Check out the Formula Handbook template!