+ Reply to Thread
Results 1 to 9 of 9

IFERROR INDEX & MATCH results in Blank

  1. #1
    Registered User
    Join Date
    08-17-2016
    Location
    Australia
    MS-Off Ver
    Office 365 Business
    Posts
    90

    IFERROR INDEX & MATCH results in Blank

    What am I doing wrong?!

    I'm trying to use the following to look at H4 and return the value in DATA REVISED B:B, if there is no value, return the whats in F4

    It returns the value in 'DATA REVISED B:B, but I just get a blank cell if there's no data. I've tried a few different formulas, VLOOKUPS, IFs, but nothing works correctly

    =IFERROR(INDEX('DATA REVISED'!B:B,MATCH(H4,'DATA REVISED'!A:A,0)),F4)

    Thanks in advance!

  2. #2
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,831

    Re: IFERROR INDEX & MATCH results in Blank

    That should work. Can you attached the file (see yellow banner at top of page)

  3. #3
    Registered User
    Join Date
    08-17-2016
    Location
    Australia
    MS-Off Ver
    Office 365 Business
    Posts
    90

    Re: IFERROR INDEX & MATCH results in Blank

    Please see attachment
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,831

    Re: IFERROR INDEX & MATCH results in Blank

    I'm assuming we're looking at the formula in cell H4, correct. It's confusing because it doesn't look like your file matches your post. In your post you have this formula:
    =IFERROR(INDEX('DATA REVISED'!B:B,MATCH(H4,'DATA REVISED'!A:A,0)),F4)

    but in your file, the formula is:
    =IFERROR(INDEX('DATA REVISED'!A:A,MATCH($B4,'DATA REVISED'!C:C,0)),0)

    In one your index array is column B, but in the other it's column A. and it's matching on column A, not C. Then in your post you want to show what's in F4, but in you file you want to show 0.

    My guess is if you change the 0 to F4, you should get what you want???

  5. #5
    Registered User
    Join Date
    08-17-2016
    Location
    Australia
    MS-Off Ver
    Office 365 Business
    Posts
    90

    Re: IFERROR INDEX & MATCH results in Blank

    Sorry it's column I on tab - Venue that I'm having issues with

  6. #6
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,831

    Re: IFERROR INDEX & MATCH results in Blank

    It looks like it's doing what you are wanting. It's bringing back the value under Column B by going down the number of rows where what's in H4 matches whats in col A in Sheet Data Revised.

    So currently in cell I5 it says - get me the value in Column B by going down the same number of cells that you go down to match "site establishment" in column A.
    So "Site Establishment" is 2 rows down column A, and the cell 2 rows down Column B is blank, and so cell I5 is blank.
    Now, if you change the value in H4 to "ABC", it won't find it, and therefore there's an error so it shows what's in F4, which is 1000.

  7. #7
    Registered User
    Join Date
    08-17-2016
    Location
    Australia
    MS-Off Ver
    Office 365 Business
    Posts
    90

    Re: IFERROR INDEX & MATCH results in Blank

    As per my original post, "if there is no value, return the whats in F4"

    As there is no associated value against 'Site Establishment' in tab - DATA REVISED, I want it to return the value in F4 i.e. $1000

  8. #8
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,831

    Re: IFERROR INDEX & MATCH results in Blank

    I assume that if you don't find a match, that you also want to show what's in F4. If that's the case, try this:

    =IFERROR(IF(INDEX('DATA REVISED'!B:B,MATCH(H4,'DATA REVISED'!A:A,0))="",F4,INDEX('DATA REVISED'!B:B,MATCH(H4,'DATA REVISED'!A:A,0))),F4)

  9. #9
    Registered User
    Join Date
    08-17-2016
    Location
    Australia
    MS-Off Ver
    Office 365 Business
    Posts
    90

    Re: IFERROR INDEX & MATCH results in Blank

    That's it! Amazing, thank you. I was going nuts trying to figure it out!

+ 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. [SOLVED] Index/match giving correct results, wrong results & #N/A results...sometimes
    By mrteater in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-27-2019, 10:41 AM
  2. [SOLVED] If Iferror Index Match
    By JKNACKSTEDT in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-21-2019, 12:43 AM
  3. Iferror + If + Index + Match in VBA
    By Andre2016 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-10-2017, 06:58 AM
  4. [SOLVED] combining iferror, index and other formulas with no results
    By blueboi0604 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-03-2017, 09:50 AM
  5. [SOLVED] Sum used with index match and iferror
    By tlstevens in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-08-2015, 02:43 PM
  6. [SOLVED] Iferror, index & match
    By meh999 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 07-26-2014, 08:43 AM
  7. Excel 2007 : iferror(index Formula returning blank cells
    By Martin Chamberlin in forum Excel General
    Replies: 7
    Last Post: 11-15-2011, 08:45 AM

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