+ Reply to Thread
Results 1 to 2 of 2

If function with Index Match Returning #value

  1. #1
    Registered User
    Join Date
    11-08-2018
    Location
    Washington DC
    MS-Off Ver
    2016
    Posts
    1

    If function with Index Match Returning #value

    Hi,

    I have two worksheets that I am using and I want to automate the data entry process using an IF function and Index Match Match.

    I used the following formula to link the sheets and to perform the lookup based on a criteria:

    =IF($AF$4="Projected",INDEX('[WIN10_PTO Projections.xlsx]WORKSTREAM 1'!$B$1:$DO$16,MATCH($C$9,'[WIN10_PTO Projections.xlsx]WORKSTREAM 1'!$D$1:$D$16,0),MATCH(AF1,'[WIN10_PTO Projections.xlsx]WORKSTREAM 1'!$A$1:$DO$1,0),),0)

    The first match of this formula returns a value without an error, however, when I add in the second match I get the #value error. I've tried entering it as an array formula but the same issue occurs. Can anyone advise?

    Thanks!

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: If function with Index Match Returning #value

    Remove the comma after the second MATCH like so

    =IF($AF$4="Projected",INDEX('[WIN10_PTO Projections.xlsx]WORKSTREAM 1'!$B$1:$DO$16,MATCH($C$9,'[WIN10_PTO Projections.xlsx]WORKSTREAM 1'!$D$1:$D$16,0),MATCH(AF1,'[WIN10_PTO Projections.xlsx]WORKSTREAM 1'!$A$1:$DO$1,0)),0)
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

+ 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] Problems with INDEX, MATCH, MATCH returning incorrect values
    By Paul103 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-03-2018, 05:16 PM
  2. [SOLVED] Index Match function returning wrong values sometimes
    By Dord25 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-19-2018, 09:18 PM
  3. [SOLVED] Index Match function returning #N/A
    By jac89 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-14-2017, 09:28 PM
  4. [SOLVED] INDEX/MATCH array function returning nothing for some queries but not others
    By AJB611 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-12-2016, 12:03 PM
  5. Index, Match, Large Function returning duplicate names
    By RNeel55 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-08-2013, 04:09 PM
  6. [SOLVED] Index & Match returning incorrect value. Arrays fixed and exact match used.
    By SDes in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-07-2012, 08:29 PM
  7. Index and Match function returning same values
    By Climaxgp in forum Excel General
    Replies: 4
    Last Post: 12-15-2009, 05:59 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