+ Reply to Thread
Results 1 to 10 of 10

lookup for last matching word in column

  1. #1
    Registered User
    Join Date
    06-30-2016
    Location
    Egypt
    MS-Off Ver
    2010
    Posts
    16

    Question lookup for last matching word in column

    Hello guys,

    Is it possible to use wildcard with lookup formula?

    Regards.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: lookup for last matching word in column

    yes it is possible

  3. #3
    Registered User
    Join Date
    06-30-2016
    Location
    Egypt
    MS-Off Ver
    2010
    Posts
    16

    Re: lookup for last matching word in column

    Okay I want to lookup for last word as an example "test" in A column but this column also has "besttest" , so the last word in column which contains "test" is "besttest" so how can I do that?

    Thank you.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,987

    Re: lookup for last matching word in column

    Try this:

    =LOOKUP(2,1/(A2:A10="*test*"),A2:A10)

    Adjust the range accordingly.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    06-30-2016
    Location
    Egypt
    MS-Off Ver
    2010
    Posts
    16

    Re: lookup for last matching word in column

    It Says #N/A
    Last edited by AliGW; 05-02-2020 at 08:24 AM. Reason: Please don't quote unnecessarily!

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,987

    Re: lookup for last matching word in column

    There are instructions at the top of the page explaining how to attach your sample workbook.

  7. #7
    Registered User
    Join Date
    06-30-2016
    Location
    Egypt
    MS-Off Ver
    2010
    Posts
    16

    Re: lookup for last matching word in column

    Here you go
    Attached Files Attached Files

  8. #8
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: lookup for last matching word in column

    Please try

    =LOOKUP(99,SEARCH("Dixon",A2:A17),A2:A17)

  9. #9
    Registered User
    Join Date
    06-30-2016
    Location
    Egypt
    MS-Off Ver
    2010
    Posts
    16

    Re: lookup for last matching word in column

    Thank you mate, It's working like a charm!
    Last edited by AliGW; 05-02-2020 at 12:33 PM. Reason: Please don't quote unnecessarily!

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,987

    Re: lookup for last matching word in column

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Lookup value in column and copy all matching rows
    By Ollie7957 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-19-2019, 06:31 AM
  2. Replies: 5
    Last Post: 03-19-2017, 08:08 PM
  3. Combobox value loop column lookup and return all matching results to a sheet
    By ToSonder in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-27-2016, 01:39 AM
  4. Replies: 9
    Last Post: 05-06-2015, 04:50 PM
  5. [SOLVED] only matching word from whole column
    By vijaynadiad in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-14-2013, 02:27 PM
  6. Replies: 7
    Last Post: 02-02-2013, 07:34 AM
  7. Table Lookup using 3 matching column values
    By mluetkem in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-09-2012, 01:38 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