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 IF ERROR in a single formula

Hello, I am trying to get a status to pull from 3 different worksheets depending on the Row ID (We have current items, past items, and future items to keep our sheets from being too full. I get an #UNPARSEABLE error. Please let me know what I'm doing wrong.

=IFERROR(VLOOKUP([Row ID]@row, {RANGE1}, 22, false),IFERROR (VLOOKUP([Row ID]@row, {RANGE21}, 24, false),(VLOOKUP([Row ID]@row, {RANGE3}, 22, false))))

Best,

Best Answer

  • Community Champion
    Answer ✓

    Hi @trey.bowman,

    Your IFERRORs need to be nested slightly differently:

    =IFERROR(IFERROR(VLOOKUP([Row ID]@row, {RANGE1}, 22, false),VLOOKUP([Row ID]@row, {RANGE21}, 24, false)),VLOOKUP([Row ID]@row, {RANGE3}, 22, false))

    You may want to add another IFERROR so you get a blank result if there is no result from the 3 sheets instead of an error (or something showing is there no result in which case put some text between the quote marks).

    =IFERROR(IFERROR(IFERROR(VLOOKUP([Row ID]@row, {RANGE1}, 22, false),VLOOKUP([Row ID]@row, {RANGE21}, 24, false)),VLOOKUP([Row ID]@row, {RANGE3}, 22, false)),"")

    I do agree it might be easier to use an INDEX function to do this rather than needing to go across so many rows.

    Hope this helps though, but if you've any problems/questions then just let us know!

Answers

  • ✭✭✭✭✭

    I'm pretty sure this is just a brackets issue so,

    =IFERROR(VLOOKUP([Row ID]@row, {RANGE1}, 22, false),IFERROR (VLOOKUP([Row ID]@row, {RANGE21}, 24, false),VLOOKUP([Row ID]@row, {RANGE3}, 22, false))))

    In my opinion you'd be better off using an index match function.

  • ✭✭✭

    Unfortunately still #UNPARSEABLE I have only had bad luck with Index Match and always try to avoid it. I seem to always get the wrong data pulled in.

  • Community Champion
    Answer ✓

    Hi @trey.bowman,

    Your IFERRORs need to be nested slightly differently:

    =IFERROR(IFERROR(VLOOKUP([Row ID]@row, {RANGE1}, 22, false),VLOOKUP([Row ID]@row, {RANGE21}, 24, false)),VLOOKUP([Row ID]@row, {RANGE3}, 22, false))

    You may want to add another IFERROR so you get a blank result if there is no result from the 3 sheets instead of an error (or something showing is there no result in which case put some text between the quote marks).

    =IFERROR(IFERROR(IFERROR(VLOOKUP([Row ID]@row, {RANGE1}, 22, false),VLOOKUP([Row ID]@row, {RANGE21}, 24, false)),VLOOKUP([Row ID]@row, {RANGE3}, 22, false)),"")

    I do agree it might be easier to use an INDEX function to do this rather than needing to go across so many rows.

    Hope this helps though, but if you've any problems/questions then just let us know!

  • ✭✭✭

    @Nick Korna - that worked perfectly. Hopefully, I can figure out index at some point where it works correctly but for now this will do. Thanks for the help!

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions

  • I'm trying to create a SUMIF formula that looks at the salesperson name in a column and adds up or totals their $ sales in another column. To ultimately show in Dashboard of Totals Sales by Salesperso…
    User: "Allan Z"
    Answered ✓
    8
    2
  • Good day Smartsheet Team, Getting an unparseable error on this formula: =IF($Name@row <> "",(SUMIFS({Expense}, {Period},1, {Type}, OR(@cell = "RES602782", @cell = "RES602497")),"") Trying to pull in a…
    User: "stratman"
    Answered ✓
    15
    2
  • I have a sheet that compiles all the responses from a form. The sheet has multiple start and end date columns, but only one start and one end date cell is NOT blank depending on the activity selected …
    User: "m_anderson"
    Answered ✓
    13
    2