Results 1 to 7 of 7

first and last text match from list

Threaded View

  1. #1
    Registered User
    Join Date
    08-20-2016
    Location
    Drosopila
    MS-Off Ver
    2013
    Posts
    11

    first and last text match from list

    (I have excel 2013)

    I have a list of words in a column (also in a named range), sorted alphabetically.

    I need to find the first and last words that begins with a chosen string

    For example, if I have this list of words:

    afrn
    frghy
    frntg
    frntgh
    frntjdf
    froty
    zfrn
    if my string to match is "frn", the first and last matches are "frntg" and "frntjdf"

    I have this array function to find the first match:

    {=INDEX(named_range,MATCH(TRUE,ISNUMBER(SEARCH(E3,named_range)),0))}
    but it finds "afrn" instead of "frntg" (I want the matched words to start with "frn")

    and I don't know how to find the last match.
    Last edited by forilohud; 09-20-2018 at 03:55 PM. Reason: fixed formula's list separator to English standart

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Parce Date from Text and Match it to a list (easy if your good)
    By lougs7 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 10-12-2017, 11:40 AM
  2. [SOLVED] Match text in two columns with criteria list
    By T15K in forum Excel General
    Replies: 5
    Last Post: 12-24-2014, 02:46 AM
  3. Replies: 10
    Last Post: 09-18-2014, 09:36 AM
  4. [SOLVED] Change text to match that of a list of text
    By Consty1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-02-2013, 02:18 PM
  5. Match number in list and return text
    By treesman in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-02-2013, 09:08 AM
  6. Replies: 3
    Last Post: 06-17-2013, 01:09 PM
  7. [SOLVED] Match row that contains text text string; list associated values from pivot table
    By ACurtis802 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-29-2009, 07:50 PM

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