Formulas and Functions

Formulas and Functions

Ask for help with your formula and find examples of how others use formulas and functions to solve a similar problem.

Multiple IFERROR Fx with INDEX(COLLECT returning Incorrect Argument Error

I'm trying to write a formula, referencing a job number, to pull job due date, checking three different databases, our backlog and then shipment summary and then Order Entry Sheet. I have this formula that works when I pull Part Description:

=IFERROR(INDEX(COLLECT({BACKLOG PART DESCRIPTION}, {BACKLOG JOB NUMBER}, [Job Number]@row), 1), IFERROR(INDEX(COLLECT({SHIP PART DESCRIPTION}, {SHIP JOB NUMBER}, [Job Number]@row), 1), INDEX(COLLECT({OE PART DESCRIPTION}, {OE JOB NUMBER}, [Job Number]@row), 1)))

But if I modify it to pull QTY, I get the Incorrect Argument Error code and can't figure out why. This is what the formula looks like if I modify it. Does anyone have any ideas why this isn't working?

=IFERROR(INDEX(COLLECT({BACKLOG QTY}, {BACKLOG JOB NUMBER}, [Job Number]@row), 1), IFERROR(INDEX(COLLECT({SHIP QTY}, {SHIP JOB NUMBER}, [Job Number]@row), 1), INDEX(COLLECT({OE QTY}, {OE JOB NUMBER}, [Job Number]@row), 1)))

Tags:

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions