+ Reply to Thread
Results 1 to 6 of 6

Case Sensitive Vlookup

  1. #1
    Registered User
    Join Date
    01-24-2011
    Location
    Auburn, AL
    MS-Off Ver
    Excel 2003
    Posts
    17

    Case Sensitive Vlookup

    Hey yall,

    I am having a problem where vlookup will pull the wrong account number because some are "123a" and others are "123A" and it will not differentiate. Any ideas? I don't know if vlookup can do this or not.

    I attached an example where I know account number, phone, and contact. But it is pulling the wrong info over because it will not do an exact match. Any ideas? Thanks so much for the help!
    Attached Files Attached Files
    Last edited by DawginAuburn; 05-11-2012 at 03:26 PM.

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Case Sensitive Vlookup

    You want to seriously consider changing your account numbering system.
    Excel and many other programes see "123a" and "123A" as the same thing, maybe because it is a common typing error.
    Many formulae are not case-sensitive, so you are only inviting trouble.
    There are some that are case-sensitive, FIND() springs to mind, but finding workarounds for a bad system is not the best approach.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  3. #3
    Registered User
    Join Date
    01-24-2011
    Location
    Auburn, AL
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Case Sensitive Vlookup

    Could not agree more. Unfortunately I have no control over it.

  4. #4
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: Case Sensitive Vlookup

    Hi Dawgin, try this array formula (must be confirmed with CTRL+SHIFT+ENTER, not just ENTER):

    =INDEX($B$3:$B$6,MATCH(TRUE,EXACT(F3,$A$3:$A$6),0))

    Hope that helps!

  5. #5
    Registered User
    Join Date
    01-24-2011
    Location
    Auburn, AL
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Case Sensitive Vlookup

    You the man Paul! thanks a lot!

  6. #6
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Case Sensitive Vlookup

    Here's another approach, but Pauls' is better.
    Attached Files Attached Files

+ 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