+ Reply to Thread
Results 1 to 8 of 8

EXCEL 2010 Check if sub string value in cell match with other string, output with vlookup

  1. #1
    Registered User
    Join Date
    04-14-2015
    Location
    indonesia
    MS-Off Ver
    2010
    Posts
    5

    EXCEL 2010 Check if sub string value in cell match with other string, output with vlookup

    hi all,
    can anybody help me.

    how to create formula if sub string value in cell match with other string, can output with substring it self

    A1
    sampletext1

    reference B1:B3
    sample
    bunga
    flower

    question : if A1 contains reference B1:B3, then output will be "sample"
    Its difficult for me because we used an reference, thanks a lot

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: EXCEL 2010 Check if sub string value in cell match with other string, output with vloo

    A
    B
    C
    1
    bungadefef sample Available In List
    2
    bunga
    3
    abc


    C
    1
    =IF(ISNA(LOOKUP(2,1/SEARCH(B1:B3,A1))),"Not Exist","Available")&" In List"


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    04-14-2015
    Location
    indonesia
    MS-Off Ver
    2010
    Posts
    5

    Re: EXCEL 2010 Check if sub string value in cell match with other string, output with vloo

    Hi sixsenth,
    Great, its work at all
    one more question, if I want to change output (=IF(ISNA(LOOKUP(2,1/SEARCH(B1:B3,A1))),"Not Exist","Available")&" In List"
    change to word it self, example : "bunga" in C1, is it possible ...

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: EXCEL 2010 Check if sub string value in cell match with other string, output with vloo

    Quote Originally Posted by antolinz View Post
    change to word it self, example : "bunga" in C1, is it possible ...
    Little bit confused about your above statement

    Can you please explain a bit more for my better understanding?

  5. #5
    Registered User
    Join Date
    04-14-2015
    Location
    indonesia
    MS-Off Ver
    2010
    Posts
    5

    Re: EXCEL 2010 Check if sub string value in cell match with other string, output with vloo

    Hi, hope it can explain
    if your formula returns "Not Exist","Available")&" In List", what i want is it return word in reference which is "bunga"

    2015-04-15_20-21-38.png

  6. #6
    Registered User
    Join Date
    04-14-2015
    Location
    indonesia
    MS-Off Ver
    2010
    Posts
    5

    Re: EXCEL 2010 Check if sub string value in cell match with other string, output with vloo

    if coloum A1 "bungadedef" and reference is (sample,bunga,abc) then C1 returns a word containing in reference, which is "bunga"

  7. #7
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: EXCEL 2010 Check if sub string value in cell match with other string, output with vloo

    Quote Originally Posted by antolinz View Post
    if your formula returns "Not Exist","Available")&" In List", what i want is it return word in reference which is "bunga"
    Thanks for the brief

    Here is the revised formula


    =IFERROR(LOOKUP(2,1/SEARCH(B1:B3,A1),B1:B3),"Not Available In List")

  8. #8
    Registered User
    Join Date
    04-14-2015
    Location
    indonesia
    MS-Off Ver
    2010
    Posts
    5

    Re: EXCEL 2010 Check if sub string value in cell match with other string, output with vloo

    Thanks god, solved
    if you dont mind, 1 reputation from me, thanks a lot six...

+ 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] Trying to match partial string to an array, need to output related cell
    By vijaijohn in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-23-2013, 03:04 PM
  2. [SOLVED] Formula or Macro, match string,from 1 cell to a column,String use dash
    By david gonzalez in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-07-2013, 06:03 PM
  3. Trying to match partial string with another string and give position or cell
    By pat3white in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 07-01-2013, 10:07 AM
  4. [SOLVED] Vlookup, Match (Search or Find) partial string within string in a Cell
    By dluhut in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-28-2013, 12:40 PM
  5. Replies: 2
    Last Post: 12-12-2012, 04:19 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