Consulting

Results 1 to 3 of 3

Thread: simple MATCH function - need help

  1. #1
    VBAX Tutor joelle's Avatar
    Joined
    Apr 2005
    Location
    Sunnyvale, CA
    Posts
    204
    Location

    simple MATCH function - need help

    Dear "Match functions" expert:

    As you can see, please how do I write a match formula for D1 to D4, so that if the customer name matches with the one in A1:A4, the correct value returns in D1 to D4. Ex below shows D1 returns 35 because name matches w/ A3 (ABC). In reality, I have to deal w/ 100 names. Oh, please note that "name sorting" is not an option for my project, or else, LIFE spells "EASY"

    So much appreciated.

    customer CCA 150 customer ABC 35
    customer XYZ 20 customer EFF
    customer ABC 35 customer CCA
    customer EFF 20 customer XYZ
    Last edited by joelle; 09-21-2015 at 09:50 AM.

  2. #2
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,729
    Location
    Were you thinking of VLookup()?

    Capture.JPG
    ---------------------------------------------------------------------------------------------------------------------

    Paul


    Remember: Tell us WHAT you want to do, not HOW you think you want to do it

    1. Use [CODE] ....[/CODE ] Tags for readability
    [CODE]PasteYourCodeHere[/CODE ] -- (or paste your code, select it, click [#] button)
    2. Upload an example
    Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) / Upload Files / Done
    3. Mark the thread as [Solved] when you have an answer
    Thread Tools (on the top right corner, above the first message)
    4. Read the Forum FAQ, especially the part about cross-posting in other forums
    http://www.vbaexpress.com/forum/faq...._new_faq_item3

  3. #3
    VBAX Tutor joelle's Avatar
    Joined
    Apr 2005
    Location
    Sunnyvale, CA
    Posts
    204
    Location
    Aloha Paul!

    YAY - vlookup was actually what I failed to think of! THANK YOU SO VERY MUCH for the quickie charm reply

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •