+ Reply to Thread
Results 1 to 2 of 2

VLOOKUP only if partial text is found

  1. #1
    Registered User
    Join Date
    04-05-2019
    Location
    vancouver
    MS-Off Ver
    2010
    Posts
    1

    VLOOKUP only if partial text is found

    Hi,

    i am trying to return a date from a data set using vlookup, only if certain text is found.
    I am not having any luck with the formula. any ideas?


    eg - return G1, from data A1:G10, only if B1 contains text "Independent Tanks".
    The red text would be my lookup value.

    =IF(ISNUMBER(SEARCH("Independent Tanks",Sheet2!B1)),VLOOKUP(LLI!D13&"*",Sheet2!$B$1:$G$43,7,FALSE),"na")

    Capture.JPG
    Last edited by grant langley; 04-05-2019 at 12:30 PM.

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: VLOOKUP only if partial text is found

    Hello and welcome to the forum.

    It would have helped if you were to upload a sample workbook instead of a picture of one. This way, we don't have to re-create it to test.

    That being said, try this:

    =INDEX(G:G,MATCH("*Independent Tanks*",B:B,0))

+ 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. VLOOKUP; Partial Text...
    By needhelp889 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-11-2018, 02:57 PM
  2. [SOLVED] Look for Partial Text and Return Values IF found or Not
    By mrsbrannon in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-06-2018, 11:40 AM
  3. [SOLVED] VLookup - partial text
    By Bryony309 in forum Excel General
    Replies: 3
    Last Post: 08-01-2016, 06:08 AM
  4. [SOLVED] Vlookup with partial text VBA help
    By itty in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-12-2015, 10:25 AM
  5. VLOOKUP Partial matches when searched text is longer than actual text
    By mockions in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-23-2015, 11:16 PM
  6. [SOLVED] Find partial text in cell and assign variable a value if found
    By lday75 in forum Excel General
    Replies: 4
    Last Post: 07-26-2012, 01:36 PM
  7. Partial text vlookup
    By vijanand1279 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-06-2011, 05:35 AM

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