+ Reply to Thread
Results 1 to 4 of 4

Index/Match with Multiple rows/columns #NA error

  1. #1
    Registered User
    Join Date
    08-03-2011
    Location
    St. Paul, MN
    MS-Off Ver
    Excel 2003
    Posts
    2

    Index/Match with Multiple rows/columns #NA error

    I've been stumped on this problem for a while now. I don't know a lot about excel, but have been trying to teach myself as I go to learn more. The Index/Match funcations have been my latest attempts at learning.

    Here is my current problem. I'm creating a sheet that has a single column of employee names, a heading row of the different months, and then a table of #'s of widgets each person created during that month.

    What I'm trying to do is create a list in the sheet that generates a top 10 list for each shift. I'm able to list the widgets from 1 to 10 with the Large function, but when I try to use the Index/Match functions to list the person's name along with the month, I'm getting the #NA error. From what I understand from reading various help sites, the Match function cannot handle multiple rows?

    I figured maybe it's time for some real help. I'm new to the forum, I'll try to attach a sample. Any advice would be greatly appreciated!
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Index/Match with Multiple rows/columns #NA error

    In D25 Cell

    =INDEX($A:$A,SUMPRODUCT(MAX(($B$3:$M$12=C25)*ROW($B$3:$M$12))))


    In E25 Cell

    =INDEX($2:$2,SUMPRODUCT(MAX(($B$3:$M$12=C25)*COLUMN($B$3:$M$12))))


    Drag both the formula's down...


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    08-03-2011
    Location
    St. Paul, MN
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Index/Match with Multiple rows/columns #NA error

    Worked great! Looks like you showed me my next excel topic to learn about!

    Thanks again!

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

    Re: Index/Match with Multiple rows/columns #NA error

    It appears that you have multiple ties. I kept running into the same dilemma Sixthsense's formula produces....I couldn't
    resolve the ties...names and months kept repeating. I've proposed a resolve that looks like this. File attached.

    Row\Col
    A
    B
    C
    D
    E
    23
    Ranks
    24
    Multi-Qualifiers Day Shift Person Month
    25
    1
    1
    9844
    Jim Nov
    26
    1
    2
    9825
    Phil March
    27
    1
    3
    9435
    Susie July
    28
    1
    4
    5123
    Bobby April
    29
    2
    5
    3218
    Raymond March
    30
    2
    5
    3218
    John Nov
    31
    1
    6
    3121
    Billy Nov
    32
    1
    7
    1238
    Phil Dec
    33
    4
    8
    984
    Jim March
    34
    4
    8
    984
    John May
    35
    4
    8
    984
    Phil June
    36
    4
    8
    984
    Steve Sept
    37
    1
    9
    974
    Jaylana July
    38
    1
    10
    961
    Raymond June
    39
    Attached Files Attached Files
    Last edited by FlameRetired; 12-24-2014 at 02:39 AM.

+ 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 Multiple Rows & Columns
    By brad_x81 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-22-2014, 07:26 AM
  2. Index and Match with multiple columns/rows
    By fab121 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-18-2012, 02:33 PM
  3. Replies: 2
    Last Post: 05-25-2012, 02:56 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