+ Reply to Thread
Results 1 to 6 of 6

Issue with array formula index and match giving N/A WHEN 3 CRITERIA is involved

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    Issue with array formula index and match giving N/A WHEN 3 CRITERIA is involved

    I have a workbook with 2 sheets quota and database .

    My goal is extract data from database from column A ,D AND G as criteria and lookup column F of same sheet. and insert correct data in column F of quota sheet .

    I have taken a small sample as the database is much bigger of 5000 rows .

    I used index and match through concatenation as array form. but when I have data in column A and G are same criteria but column D , I am getting N/A .

    There is an issue with match concatenation which evaluate N/A.

    Can anyone assist I am stuck

    
    =INDEX(DATABASE!$E$2:$E$6,MATCH(A2&D2&G2,DATABASE!$A$2:$A$6&DATABASE!$C$2:$C$6&DATABASE!$F$2:$F$6,0))
    Attached Files Attached Files

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2405
    Posts
    13,427

    Re: Issue with array formula index and match giving N/A WHEN 3 CRITERIA is involved

    I see nothing wrong with your formula. The concatenated strings simply aren't finding matching strings.

    I tried putting
    Formula: copy to clipboard
    =A2&D2&G2
    in temporary column 'QUOTA' I2:I6 and
    Formula: copy to clipboard
    =A2&C2&F2
    in temporary column G 'DATABASE' G2:G6. Then in temporary column 'QUOTA' J2:J6
    Formula: copy to clipboard
    =MATCH(I2,DATABASE!$G$2:$G$6,0)
    They match on rows 1 and 2 but return #N/A on the others. Upon close examination this is correct.


    I
    J
    1
    2
    CAXU812782373936766
    2
    3
    CAXU812782326893886
    3
    4
    MEDU807244752153724
    #N/A
    5
    MEDU807244739367624
    #N/A
    6
    MEDU807244268938824
    #N/A



    G
    1
    2
    MEDU8072442752153724
    3
    CAXU812782373936766
    4
    CAXU812782326893886
    5
    MEDU8072442739367624
    6
    MEDU8072442268938824
    Dave

  3. #3
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    Re: Issue with array formula index and match giving N/A WHEN 3 CRITERIA is involved

    Hello Dave

    Is there another method it is first time I got this issue.

    I have always use this formula so far

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,758

    Re: Issue with array formula index and match giving N/A WHEN 3 CRITERIA is involved

    The entries don’t match - those in column G have more characters.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    Re: Issue with array formula index and match giving N/A WHEN 3 CRITERIA is involved

    Yep my bad I have found it, It working now thank you

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2405
    Posts
    13,427

    Re: Issue with array formula index and match giving N/A WHEN 3 CRITERIA is involved

    You are welcome. Glad it helped. Thank you for the feedback.

+ 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 array giving first value when no match
    By BPSJACK in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-09-2019, 09:30 AM
  2. Replies: 6
    Last Post: 12-13-2017, 10:08 AM
  3. Replies: 5
    Last Post: 04-19-2016, 04:17 PM
  4. Need an array possibly INDEX/MATCH formula with multiple lookup criteria.
    By TheClaw2323 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-25-2015, 09:59 AM
  5. Array Formula - Index / Match - Dedupe & filter criteria
    By rtiger in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-29-2014, 03:18 PM
  6. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  7. Replies: 4
    Last Post: 03-27-2014, 01:09 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