+ Reply to Thread
Results 1 to 5 of 5

Function to extract the data that matches the value in comma separated

  1. #1
    Forum Contributor
    Join Date
    04-22-2013
    Location
    Philippines
    MS-Off Ver
    Office 365, Excel 2016
    Posts
    146

    Function to extract the data that matches the value in comma separated

    I need a function in excel that extract the values like,

    183,193

    and return a specific column content.

    So for example, in cell a1 it has 183,193. The function will get the first value 183 and find that matches the value in sheet2, column A has the id number and column B has the data, so once 183 is found in the sheet2, return the value that is in column B, same as 193, find 193 in the sheet2 of column A and return the column B.

    So if 183 has found the apple, and 193 is mango it would return

    apple, mango


    hope some one could help me with this. thanks.

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Function to extract the data that matches the value in comma separated

    =VLookUps(A1,",",Sheet2!A:B,2)
    Please Login or Register  to view this content.
    Last edited by jindon; 06-16-2017 at 12:16 AM.

  3. #3
    Forum Contributor
    Join Date
    04-22-2013
    Location
    Philippines
    MS-Off Ver
    Office 365, Excel 2016
    Posts
    146

    Re: Function to extract the data that matches the value in comma separated

    I tried it but seems to be incorrect, please see attached file.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Function to extract the data that matches the value in comma separated

    You have number as string in Categories!C.
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    04-22-2013
    Location
    Philippines
    MS-Off Ver
    Office 365, Excel 2016
    Posts
    146

    Re: Function to extract the data that matches the value in comma separated

    that works fine, so great, thank you

+ 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] Extract Numbers from Comma-Separated String
    By k64 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-17-2017, 06:30 PM
  2. [SOLVED] How to Extract the City and State from a Address Column not Separated by a Comma?
    By SeaTiger in forum Excel Programming / VBA / Macros
    Replies: 34
    Last Post: 06-13-2016, 11:33 AM
  3. [SOLVED] How to extract words from a text string separated by comma
    By shukla.ankur281190 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-22-2015, 04:16 AM
  4. Extract Value Separated by Comma
    By bluesora in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-19-2015, 11:15 AM
  5. Function for Comma-Separated Values within Cell
    By SoothSailor in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-07-2014, 06:21 PM
  6. [SOLVED] Extract list - Comma separated
    By TheCman81 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-28-2014, 09:29 AM
  7. [SOLVED] Formula to Extract Phrase in Cell to Comma Separated Text
    By ghoneim in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-04-2013, 09:44 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