+ Reply to Thread
Results 1 to 5 of 5

Need to autopopulate a column by matching first 3 numbers in Column A to Column B

  1. #1
    Registered User
    Join Date
    06-05-2013
    Location
    Syracuse, NY
    MS-Off Ver
    Excel 2010
    Posts
    23

    Need to autopopulate a column by matching first 3 numbers in Column A to Column B

    Want to automatically populate COLUMN A with a specific Location from the LOCATIONS list in COLUMN H by matching the first 3 numbers of the Account # in COLUMN C to the associated Location Number in COLUMN G.
    Attached Files Attached Files

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Need to autopopulate a column by matching first 3 numbers in Column A to Column B

    Try this:

    Please Login or Register  to view this content.
    copy/autofill down.
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Need to autopopulate a column by matching first 3 numbers in Column A to Column B

    use
    =VLOOKUP(VALUE(LEFT(C2,3)),$G$1:$H$6,2,FALSE)
    in A2 and copy down

  4. #4
    Registered User
    Join Date
    06-05-2013
    Location
    Syracuse, NY
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Need to autopopulate a column by matching first 3 numbers in Column A to Column B

    Quote Originally Posted by ConneXionLost View Post
    Try this:

    Please Login or Register  to view this content.
    copy/autofill down.
    This worked in the Sample I provided, however, when I placed it in the actual workbook, it gave me an NA#. The original WB is set up exactly the same.

  5. #5
    Registered User
    Join Date
    06-05-2013
    Location
    Syracuse, NY
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Need to autopopulate a column by matching first 3 numbers in Column A to Column B

    Thank you. Yes, worked. You all make this look so easy.

+ 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