+ Reply to Thread
Results 1 to 6 of 6

=INDEX($N$3:$Q$100,MATCH(1,($A$2=$N$2:$N$100)*($B$2=$Q$2:$Q$100),0)) what wrong

  1. #1
    Registered User
    Join Date
    02-23-2015
    Location
    hk
    MS-Off Ver
    window7
    Posts
    240

    =INDEX($N$3:$Q$100,MATCH(1,($A$2=$N$2:$N$100)*($B$2=$Q$2:$Q$100),0)) what wrong

    dear sir

    attahced pls find file, which should match a2,b2 from range n2 to q100 which match
    column n and q

    =INDEX($N$3:$Q$100,MATCH(1,($A$2=$N$2:$N$100)*($B$2=$Q$2:$Q$100),0))

    the formula is wrong .
    pls help

    tks'
    tom
    Attached Files Attached Files

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: =INDEX($N$3:$Q$100,MATCH(1,($A$2=$N$2:$N$100)*($B$2=$Q$2:$Q$100),0)) what wrong

    It would not work dear due to syntax error.

    Why don't try in D2=IF(ROW($D1:D1)<=$C$3,VLOOKUP($A$2,OFFSET($N$1,MATCH($A$2&$B$2,INDEX($N$2:$N$15&$Q$2:$Q$15,),0)+ROWS($C$2:C2)-ROW($C$1),0,$C$3,4),COLUMNS($D1:D1),FALSE),"")

    It will understand and make dynamic ranges for Vlookup.

    XL file is attached for your help.
    Attached Files Attached Files
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: =INDEX($N$3:$Q$100,MATCH(1,($A$2=$N$2:$N$100)*($B$2=$Q$2:$Q$100),0)) what wrong

    Hi,

    Try the following formula in D2:

    {=IFERROR(INDEX(N$1:N$15,SMALL(IF(($N$1:$N$15=$A$2)*($Q$1:$Q$15=$B$2),ROW($N$1:$N$15)),ROW(A1))),"")}

    array entered, needs to be confirmed by pressing CTRL+SHIFT+ENTER

    drag this across and down.

    See the attached file.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    02-23-2015
    Location
    hk
    MS-Off Ver
    window7
    Posts
    240

    Re: =INDEX($N$3:$Q$100,MATCH(1,($A$2=$N$2:$N$100)*($B$2=$Q$2:$Q$100),0)) what wrong

    hi

    when i fill d7 with forumula =IFERROR(INDEX(N$1:N$15,SMALL(IF(($N$1:$N$15=$A$3)*($Q$1:$Q$15=$B$3),ROW($N$1:$N$15)),ROW(A1))),"")

    it dont work how to fill the range d7 to g9

    attached pls find file

    thanks
    tom
    Attached Files Attached Files

  5. #5
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: =INDEX($N$3:$Q$100,MATCH(1,($A$2=$N$2:$N$100)*($B$2=$Q$2:$Q$100),0)) what wrong

    Hi,

    The same formula works, its an array formula & you need to press CTRL+SHIFT+ENTER instead of just ENTER to confirm.

    See the attached file.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    02-23-2015
    Location
    hk
    MS-Off Ver
    window7
    Posts
    240

    Re: =INDEX($N$3:$Q$100,MATCH(1,($A$2=$N$2:$N$100)*($B$2=$Q$2:$Q$100),0)) what wrong

    Thank for your great help. It is great

+ 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 wrong result
    By spinkung in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-14-2015, 05:20 AM
  2. [SOLVED] Row and column match? (IF INDEX MATCH) What am I doing wrong.
    By Noop1887 in forum Excel General
    Replies: 2
    Last Post: 01-04-2015, 09:16 AM
  3. [SOLVED] Index and Match... I'm pretty sure I'm just doing it wrong
    By rstarr1 in forum Excel General
    Replies: 2
    Last Post: 10-13-2014, 05:40 PM
  4. [SOLVED] What's wrong with this Index Match/Row formula?
    By DaveBre in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-25-2014, 08:37 PM
  5. [SOLVED] Index Match Question - What am I doing wrong?
    By JackieAdams in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-27-2012, 04:43 PM
  6. Index Max Match formula returning wrong value
    By bk77 in forum Excel General
    Replies: 4
    Last Post: 03-25-2009, 02:17 PM
  7. Index and Match-wrong value
    By Steved in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-13-2005, 07:06 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