+ Reply to Thread
Results 1 to 4 of 4

Matching and numbering the names

  1. #1
    Registered User
    Join Date
    05-08-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    9

    Matching and numbering the names

    In sheet 1 I have names of employees in three columns "First Name, Second Name, Last Name".

    In Sheet 2 I have the same with a specific employee number in forth column.

    Now in fourth column of Sheet 1, i need the same employee number according to the respective names, how can i do this. Pls anyone can help me.

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Re: Matching and numbering the names

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Cheers!
    Deep Dave

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Matching and numbering the names

    Please see attached file with formula.

    Enter this formula in D2 and copy down

    =INDEX(Sheet2!D$2:D$11,INDEX(MATCH(A2&B2&C2,Sheet2!A$2:A$11&Sheet2!B$2:B$11&Sheet2!C$2:C$11,0),0))
    Attached Files Attached Files
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Matching and numbering the names

    Try this...

    Sheet2
    A
    B
    C
    D
    1
    ------
    ------
    ------
    ------
    2
    Gim
    Sum
    Plim
    1
    3
    Trook
    Kluo
    Seap
    2
    4
    Mash
    Pot
    Soup
    3
    5
    Reek
    Gro
    Lisp
    4



    Sheet1
    A
    B
    C
    D
    1
    ------
    ------
    ------
    ------
    2
    Trook
    Kluo
    Seap
    2
    3
    Gim
    Sum
    Plim
    1
    4
    Reek
    Gro
    Lisp
    4
    5
    Mash
    Pot
    Soup
    3


    This array formula** entered in D2 and copied down:

    =INDEX(Sheet2!D$2:D$5,MATCH(1,(Sheet2!A$2:A$5=A2)*(Sheet2!B$2:B$5=B2)*(Sheet2!C$2:C$5=C2),0))

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. Numbering the names
    By raptor_88 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-10-2015, 10:53 PM
  2. numbering names
    By mgoodlin1 in forum Excel General
    Replies: 2
    Last Post: 03-13-2014, 12:08 AM
  3. Matching email addresses to Names and Last Names
    By ffrriieennddzz in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-12-2012, 01:17 PM
  4. Matching names from sheet2, sheet3, sheet4 with names in sheet1
    By Lynx2x in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-28-2012, 07:51 AM
  5. Taking Matching fields and numbering them
    By MessiahRp in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-15-2009, 03:46 PM
  6. Auto numbering for different names
    By leeaw in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-27-2009, 05:22 AM
  7. Auto numbering for different names
    By leeaw in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-24-2009, 03:08 AM

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