+ Reply to Thread
Results 1 to 5 of 5

Lookup employee number and see duplicates as well

  1. #1
    Registered User
    Join Date
    10-15-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    94

    Talking Lookup employee number and see duplicates as well

    Howdy,

    I have a list of employee numbers and names. Sometimes the employee is on loan to another division and their serial number is imputed twice.

    I want to look up an employee number and have a table populate all the unique times the employee number appears.

    Thanks.

    find employee with duplicates.xlsx

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Lookup employee number and see duplicates as well

    Try this in J4

    =IFERROR(INDEX(B$2:B$100,SMALL(IF($A$2:$A$100=$J$1,ROW(B$2:B$100)-1),ROW(B1))),"")

    Copy down and across.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    10-15-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    94

    Re: Lookup employee number and see duplicates as well

    Maybe I'm doing something wrong. I placed the formula in J4 and dragged down. When I try employee number "1" it returns the wrong name.

    I would like to type "1" in J1 and then all three times "1" appears uniquely will come up.

    I appreciate the help though.

  4. #4
    Registered User
    Join Date
    10-15-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    94

    Re: Lookup employee number and see duplicates as well

    Wait, it's an array formula. Ok, this is great. I appreciate it sir.

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Lookup employee number and see duplicates as well

    Apologize that i didn't mentioned that this is an ARRAY formula. See my signature for this.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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