+ Reply to Thread
Results 1 to 6 of 6

Thread: Help using Match and Index... I think

  1. #1
    Registered User
    Join Date
    04-17-2009
    Location
    Pacific Northwest
    MS-Off Ver
    Excel 2011
    Posts
    26

    Help using Match and Index... I think

    I am hoping to create a formula that looks at a table of employee names and the program they are charged to and displays the appropriate employee name based on the program number

    I have attached a workbook, because I am positive that I am not being concise or clear enough.

    I appreciate the time and guidance.
    Attached Files Attached Files
    Last edited by thisiscrazy; 11-18-2011 at 10:36 PM.

  2. #2
    Registered User
    Join Date
    04-17-2009
    Location
    Pacific Northwest
    MS-Off Ver
    Excel 2011
    Posts
    26

    Re: Help using Match and Index... I think

    I updated the spreadsheet to show exactly what I am doing with some additional formulas and data.

    I thought it may help.

    Thanks in advance
    Attached Files Attached Files

  3. #3
    Forum Moderator arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    4,371

    Re: Help using Match and Index... I think

    I am still not able to understand what output you want. Maybe you can include a "After" sheet to try and explain what you want to be displayed.

  4. #4
    Registered User
    Join Date
    04-17-2009
    Location
    Pacific Northwest
    MS-Off Ver
    Excel 2011
    Posts
    26

    Re: Help using Match and Index... I think

    I apologize for not being clear.

    The output wanted is the appropriate employee name in column A who is paid from program 2100 or program 5100 as laid out on the salary breakdown worksheet.

    Currently if I type in their name exactly as it is on the other worksheet their salary and how much they are charged to that specific program are outputted to the right.


    Thanks!

  5. #5
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: Help using Match and Index... I think

    Try this formula in A4:

    =IFERROR(INDEX(Names,SMALL(IF(ISNUMBER(INDEX('Salary Breakdown'!$D$5:$Q$9,0,MATCH(LOOKUP(9.99999999999999E+307,$A$3:$A3),'Salary Breakdown'!$D$3:$Q$3,0))),ROW(Names)-ROW(INDEX(Names,1,0))+1),ROWS(INDEX($A$3:$A3,MATCH(9.999999999999E+307,$A$3:$A3)):A3))),"")
    confirmed with CTRL+SHIFT+ENTER and copied down to A7.

    Then copy A4 and paste to A9 and copy down, then paste to A13 and copy down, etc....
    Attached Files Attached Files
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  6. #6
    Registered User
    Join Date
    04-17-2009
    Location
    Pacific Northwest
    MS-Off Ver
    Excel 2011
    Posts
    26

    Re: Help using Match and Index... I think

    Sorry for the long time with no response. We had a family emergency and I was out for awhile.


    Thanks for the formula! That worked perfectly.

    I couldn't tweak it to work in my actual spreadsheet for some reason (well, user error actually)

    But it works perfectly and I appreciate it.

    Actually I think you have built most of this thing over the years.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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.2.0