+ Reply to Thread
Results 1 to 7 of 7

Search text in Cell and return value from another cell

  1. #1
    Forum Contributor
    Join Date
    04-11-2014
    Location
    Norway
    MS-Off Ver
    Office 365 version 2302
    Posts
    152

    Search text in Cell and return value from another cell

    Hi,

    I don't know if this should be posted in VBA, because I don't know what would be the best solution for my problem.

    It's kind of difficult to explain my problem, so I've attached a sample.

    Any idea?
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: Search text in Cell and return value from another cell

    what is the maximum number of "words" in column A? In your real data, are there any features of the desired string that would enable them to be extrcted from the text?

    Basically, I'd like to see some real data that is REPRESETATIVE of what you are dealing with, to look for patterns that could help.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Contributor
    Join Date
    04-11-2014
    Location
    Norway
    MS-Off Ver
    Office 365 version 2302
    Posts
    152

    Re: Search text in Cell and return value from another cell

    I can extract the text from cells so that there will be only 1 fruit in column A and only one fruit in column B if that helps.

    It's kind of confidential data, I can't post in in a forum.

  4. #4
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Search text in Cell and return value from another cell

    Try:-
    Please Login or Register  to view this content.
    Regards Mick

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: Search text in Cell and return value from another cell

    So, post an exampole of what you mean. I'm not going to spend time on something I haven't seen, in case I go wrong at step 1.

  6. #6
    Forum Contributor
    Join Date
    04-11-2014
    Location
    Norway
    MS-Off Ver
    Office 365 version 2302
    Posts
    152

    Re: Search text in Cell and return value from another cell

    Thank you MickG! Worked perfectly.

  7. #7
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Search text in Cell and return value from another cell

    You're welcome

+ 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. search cell text in another cell string and return other cell
    By is2_egypt in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-14-2016, 05:30 PM
  2. Replies: 2
    Last Post: 06-19-2014, 10:36 AM
  3. [SOLVED] Search Columns and Return the cell that contains text
    By pauldaddyadams in forum Excel General
    Replies: 1
    Last Post: 11-29-2013, 06:43 AM
  4. Search cell for multiple text , return comma separated text in separate cell if found
    By dangerdoug in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-01-2013, 01:52 PM
  5. search for text in a cell and return the value of a different cell
    By kirbyj in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-15-2013, 08:50 AM
  6. [SOLVED] Search for Text and Return Cell Location
    By olives in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-17-2013, 07:53 PM
  7. Replies: 4
    Last Post: 05-12-2011, 02:25 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