+ Reply to Thread
Results 1 to 6 of 6

search for a string in cell having multiple string

  1. #1
    Registered User
    Join Date
    06-05-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    9

    search for a string in cell having multiple string

    i am looking for a code to search for a single cell value in multiple cell value and return the adjacent cell for eg-

    in sheet 1-
    A B
    4F876


    Sheet 2-

    A B

    4F876 4M4646 5GAR 100


    Column B in sheet 1 should return 100 value.

    Please help.

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

    Re: search for a string in cell having multiple string

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  3. #3
    Registered User
    Join Date
    06-05-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    9

    Re: search for a string in cell having multiple string

    I can't attach the workbook from my laptop..restricted.


    in sheet 1-
    Column A Column B
    4F876
    4ZAT


    Sheet 2-

    columnA ColumnB

    4F876 4M4646 5GAR 100
    4RTA 4ZAT 4MAT 200

    There are multiples values in columnA of sheet 2 for the columnA in Sheet 1.

  4. #4
    Registered User
    Join Date
    06-05-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    9

    Re: search for a string in cell having multiple string

    I can't attach the workbook from my laptop..restricted.


    in sheet 1-
    Column A Column B
    4F876
    4ZAT


    Sheet 2-

    columnA ColumnB

    4F876 4M4646 5GAR 100
    4RTA 4ZAT 4MAT 200

    There are multiples values in columnA of sheet 2 for the columnA in Sheet 1.

  5. #5
    Registered User
    Join Date
    06-05-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    9

    Re: search for a string in cell having multiple string

    please check this
    Attached Images Attached Images

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

    Re: search for a string in cell having multiple string

    Perhaps =vlookup("*"&a2&"*",$a$10:$b$100,2,0) ( I made the A10:b100 range up, can't see it on the image) Pull down as needed

+ 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. Script to Search for a specific String then return cell values above that String-4
    By owensjb2 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-03-2015, 01:28 AM
  2. [SOLVED] Script to Search for a specific String then return cell values above that String-3
    By owensjb2 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-01-2015, 01:50 PM
  3. [SOLVED] Script to Search for a specific String then return cell values above that String-2
    By owensjb2 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-01-2015, 01:00 PM
  4. [SOLVED] Script to Search for a specific String then return cell values above that String
    By owensjb2 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-01-2015, 11:28 AM
  5. [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

Tags for this Thread

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