+ Reply to Thread
Results 1 to 3 of 3

Match Data in two comlumns and automatically fill column in a different sheet

  1. #1
    Registered User
    Join Date
    03-15-2009
    Location
    DC, DC
    MS-Off Ver
    Excel 2010
    Posts
    15

    Match Data in two comlumns and automatically fill column in a different sheet

    1. I have two Columns -
    2. Column A has Cutomer ID. All the customer IDs have a unique . 3456-101, 3456-102 there are abour 500 Customer ID
    3. Column B has customer location-state information that corresponde to Customer ID like below
    3456-101 GA
    3456-102 TN
    3456-103 GA
    3456-104 MD

    4. How can I get exel to associate the location with the customer ID and automatically fill the location information for the corresponding customer ID on a different sheet.

    I hope I was clear in my description, any and all help is much appreciated. Thank you!

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Match Data in two comlumns and automatically fill column in a different sheet

    Hi macki60,

    Try using vlookup function for this. Would suggest you to see the excel in-built help for vlookup. thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Registered User
    Join Date
    03-15-2009
    Location
    DC, DC
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Match Data in two comlumns and automatically fill column in a different sheet

    Thanks I found this formula that works based on your suggestions...

    If you input the customer ID in D2 and want to match it with the customer ID in A to the location information in B. Inser this formula in column E = =IF(ISNA(VLOOKUP(D2,A:B,2,FALSE)),0,VLOOKUP(D2,A:B,2,FALSE))

    Thanks.

+ 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.6.0 RC 1