+ Reply to Thread
Results 1 to 2 of 2

Matching with partial text

  1. #1
    Forum Contributor
    Join Date
    MS-Off Ver
    office 2007

    Post Matching with partial text

    Hi all

    I am trying to input a value in cell A1 depending on that value entered in cell a2 it will show the country code

    For example in A1 I enter the following : US1 BC25 IN A2 it should show "USA/AMERICA"
    likewise UK25 BD35 IN A2 It should show "UK"
    IN534372 IN A2 it should show "INDIA"

    Based on the first two alphabets it should show the country code

    What would be the best code

  2. #2
    Forum Expert
    Join Date
    The Netherlands
    MS-Off Ver
    Office 365

    Re: Matching with partial text

    With left and VLookup (see the example).

    For the future, add an example without confidential information, so forummembers don't have to make your example.
    Attached Files Attached Files
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread


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