+ Reply to Thread
Results 1 to 5 of 5

Multiple Entries to find text within cell and return value from another table

  1. #1
    Registered User
    Join Date
    01-18-2015
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    3

    Multiple Entries to find text within cell and return value from another table

    Hi,

    I have 100 entries of text which often differs by character or case. I am trying to somehow find the word in the text and use a formula somehow use a formula or macro, similar to a v lookup, which will return the corresponding number from a table. For example, as seen below, I would want to return pear from the text and then somehow return the number 3 from the table below it. I am unsure how to do this. Please help!

    Text
    AN APPLE
    apple 24586
    fdi banana
    pear ghr
    (a) pear

    Fruit Number
    Apple 1
    Banana 2
    Pear 3

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Multiple Entries to find text within cell and return value from another table

    what denotes the fact you want pear? is it a user defined thing? ie someone types in the word pear into a cell or form? and if so, what are you wanting returning from the 1st table? just a "True" or "False" if its there or not?
    If someone has helped you then please add to their Reputation

  3. #3
    Registered User
    Join Date
    01-18-2015
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Multiple Entries to find text within cell and return value from another table

    Hi,

    The data is random from a data base, in which I have to group together the fruit names. Therefore, for the example I am using Pear. This data that has been downloaded makes the data appear differently in each row. It differs by character and case. Ie (a) pear or PEAR.
    I want to know if its there, but I also want to use some form of a formula like a v lookup which will return a corresponding value. Please see the table below as an example.
    Thanks,

    Fruit Number
    Apple 1
    Banana 2
    Pear 3

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Multiple Entries to find text within cell and return value from another table

    To best describe or illustrate your problem you would be better off attaching a dummy workbook. The workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    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
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    01-18-2015
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Multiple Entries to find text within cell and return value from another table

    Hello,

    Please find attached the data under the data column and the table i want to correspond to in columns G to H.

    Thanks,
    Attached Files Attached Files

+ 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] How do I return specific values from table with multiple entries
    By BigSpeekaz in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-12-2014, 03:31 PM
  2. VLOOKUP to Search Cell with Multiple Entries and Return a Single Value
    By TheRob in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-07-2014, 08:54 AM
  3. Replies: 6
    Last Post: 03-06-2013, 03:30 PM
  4. Lookup then Search for text string and return multiple entries
    By tnewell2 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-24-2012, 12:11 PM
  5. Carriage Return multiple entries one cell
    By jdbegg in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-04-2006, 08:53 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