+ Reply to Thread
Results 1 to 4 of 4

VLookup based with different digits

  1. #1
    Registered User
    Join Date
    01-25-2010
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    22

    VLookup based with different digits

    I need a vlookup formula for a column that starts with store number.
    The problem is that each store has name right after the store number and store numbers vary from 1 to 4 digits.


    Thanks

  2. #2
    Forum Contributor
    Join Date
    04-23-2009
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2003 work, 2007 home
    Posts
    199

    Re: vlook up based wirh different digits

    you could use something like the attached (cloumn C) to extract the numbers only in in a helper column and vlookup to this, post a small sample if you can't get it
    Attached Files Attached Files

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: vlook up based wirh different digits

    as long as store number is unique
    =VLOOKUP(E1&"*",A1:B100,2,FALSE) where e1 contains full store number
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: vlook up based wirh different digits

    as long as store number is unique
    =VLOOKUP(E1&"*",A1:B100,2,FALSE) where e1 contains full store number

+ 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