+ Reply to Thread
Results 1 to 4 of 4

Multiple IFERROR in IndexMatch Formula ?

Hybrid View

  1. #1
    Registered User
    Join Date
    11-28-2012
    Location
    Baltimore
    MS-Off Ver
    Excel 2010
    Posts
    4

    Multiple IFERROR in IndexMatch Formula ?

    Hello,

    I am exporting a bunch of asset data from our property accountability system and it is very messy, multiple location fields that are manually entered with no requirements. I am using this data to try to narrow these locations down to a city, state, and building number so we can clean up the data in the system. There are 3 fields that I am trying to use an indexmatch on. Column D, UIC, is the primary field for location that I want to match, but if that returns no information/#N/A from our table then I built the function to move on to Column B, Sub Loc and match from that using an IFERROR statement. I was trying to use another IFERROR to get it to move on to the final column from there, so if nothing returns in the match from Column D, and then B, to move on to Column A, but I keep getting errors. Would anyone mind assisting? I feel like this is an easy fix but I just can't get it. Here is my formula, basically want to add on another match to this.

    Current Formula:
    =INDEX(DataArray!B:B,IFERROR(MATCH(D:D,DataArray!A:A,0),MATCH(B:B,DataArray!A:A,0)))

    Would like it to add 1 more match if an error is detected upon the 2nd match:
    =INDEX(DataArray!B:B,IFERROR(MATCH(D:D,DataArray!A:A,0),MATCH(B:B,DataArray!A:A,0),MATCH(AA,DataArray!A:A,0)))

    Thank you!
    Attached Files Attached Files

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Multiple IFERROR in IndexMatch Formula ?

    Try

    =INDEX(DataArray!B:B,IFERROR(MATCH(D:D,DataArray!A:A,0),IFERROR(MATCH(B:B,DataArray!A:A,0),MATCH(AA,DataArray!A:A,0))))

  3. #3
    Registered User
    Join Date
    11-28-2012
    Location
    Baltimore
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Multiple IFERROR in IndexMatch Formula ?

    Worked perfectly, I must have tried every variation except for that one for some reason. Thank you!

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Multiple IFERROR in IndexMatch Formula ?

    You're welcome

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 01-22-2015, 02:00 AM
  2. xlfn.IFERROR or IFERROR don't work in Excel 98-2003
    By dj_danu01 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-26-2013, 02:53 AM
  3. Replies: 4
    Last Post: 07-02-2013, 09:47 PM
  4. Need Help with an IndexMatch
    By Jebaneesa in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1