+ Reply to Thread
Results 1 to 3 of 3

find characters in text string

  1. #1
    JAYB
    Guest

    find characters in text string

    In a spreadsheet, I have a text string with names (not fixed location).
    I want to find the 3 characters of the name and if it matches show it
    as the result in the column. For that I have added in 1 column a table
    with the possible 3 characters of the name.

    With the LEN, SEARCH and MID function I have been able to do this
    partially. It only works when the 3 characters to search for is on the
    same line.

    Please help with a smart solution.


  2. #2
    KL
    Guest

    Re: find characters in text string

    Can you give a specific example please?

    Regards,
    KL


    "JAYB" <jbachoe@tiscali.nl> wrote in message
    news:1125608922.812220.279900@g47g2000cwa.googlegroups.com...
    > In a spreadsheet, I have a text string with names (not fixed location).
    > I want to find the 3 characters of the name and if it matches show it
    > as the result in the column. For that I have added in 1 column a table
    > with the possible 3 characters of the name.
    >
    > With the LEN, SEARCH and MID function I have been able to do this
    > partially. It only works when the 3 characters to search for is on the
    > same line.
    >
    > Please help with a smart solution.
    >




  3. #3
    JAYB
    Guest

    Re: find characters in text string

    KL, below is an example of what I have. thanks for your help
    Jay

    Text A B C Table

    Exp_Claim Jan Graaf 15 19 Gra GRA
    Expense Jay #VALUE! 11 #VALUE! WIN
    Sunny de Winter Exp_Claim #VALUE! 25 #VALUE! JAY
    Exp_Claim W. A. de Bouvrie 20 26 Bou BOU

    Formula's
    '=SEARCH(N2:N2,G2) A
    '=LEN(G2) B
    =MID(G2,K2-(K2-J2),3) C


+ 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