+ Reply to Thread
Results 1 to 4 of 4

Lookup ****** value and return value in cell

  1. #1
    Registered User
    Join Date
    05-16-2013
    Location
    SG
    MS-Off Ver
    Excel 2007
    Posts
    15

    Lookup ****** value and return value in cell

    Enquiry.

    Formula =IF(ISNUMBER(SEARCH("Mala-3*******",$B1)),RIGHT($B1,7)," ")

    Capture.JPG

    I am trying to look up Mala-3******** with 3******** representing any value. But the value if true is 7 characters which returns the value of "ted and".

    is there any formula where i can actually return the value looked up instead of "ted and"

    Help appreciated. Many Thanks!!!!!!!
    Last edited by kelkelkel08; 05-16-2013 at 10:32 PM.

  2. #2
    Valued Forum Contributor Lemice's Avatar
    Join Date
    04-13-2013
    Location
    Somewhere.
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: Lookup ****** value and return value in cell

    Hello and welcome to the forum,

    This formula might be what you are looking for
    =MID($B1,SEARCH("Mala-3",$B1)+5,7)
    (copy pasta from Ford)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools

    Regards,
    Lem

  3. #3
    Registered User
    Join Date
    05-16-2013
    Location
    SG
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Lookup ****** value and return value in cell

    Hi Lemice!

    Thanks for the welcome and the solution!! It works!

  4. #4
    Valued Forum Contributor Lemice's Avatar
    Join Date
    04-13-2013
    Location
    Somewhere.
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: Lookup ****** value and return value in cell

    Glad that I could help.

    If you have found a fitting solution to your problem, please mark the Thread as [SOLVED] using the Thread Tools right above post #1. It keeps things neat and tidy.

    And don't hesitate if you have any question.

    Have a great day.

+ 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