+ Reply to Thread
Results 1 to 6 of 6

vlookup multiple values in one cell separated by comma

  1. #1
    Registered User
    Join Date
    02-20-2018
    Location
    LEEDS
    MS-Off Ver
    2010
    Posts
    25

    vlookup multiple values in one cell separated by comma

    Dear,

    Could someone help me please, I have column with number must be equivalent to another column value.

    Number value
    1 100
    2 50
    3 210
    4 320
    5 500
    . .
    . .
    . .
    1000 2

    and I have a my sheet having a column with cell could having more than one numbers separted with comma.

    column somme
    5 500
    2 50
    5,3 this should be (210+500)
    .
    .
    .


    and I need to generate a new somme column as example above.

    need you help please.
    Attached Files Attached Files
    Last edited by dell001; 10-03-2019 at 12:32 AM.

  2. #2
    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,946

    Re: vlookup multiple values in one cell separated by comma

    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

  3. #3
    Forum Contributor
    Join Date
    10-30-2003
    Location
    Singapore
    MS-Off Ver
    Excel 2019
    Posts
    197

    Re: vlookup multiple values in one cell separated by comma

    This formula required Excel 2013 or above

    In B2, copied down :

    =SUMPRODUCT(SUMIF(Sheet2!A:A,FILTERXML("<a><b>"&SUBSTITUTE(A2,",","</b><b>")&"</b></a>","//b"),Sheet2!B:B))

    Regards
    Bosco

  4. #4
    Registered User
    Join Date
    02-20-2018
    Location
    LEEDS
    MS-Off Ver
    2010
    Posts
    25

    Re: vlookup multiple values in one cell separated by comma

    Dear,

    thank you for your help, However, the results it's giving only 0 in all cells.

    thank you again for your help.

  5. #5
    Registered User
    Join Date
    02-20-2018
    Location
    LEEDS
    MS-Off Ver
    2010
    Posts
    25

    Re: vlookup multiple values in one cell separated by comma

    sorry my excel is 2010 sorry

  6. #6
    Registered User
    Join Date
    02-20-2018
    Location
    LEEDS
    MS-Off Ver
    2010
    Posts
    25

    Re: vlookup multiple values in one cell separated by comma

    Bear Bosco,

    I try it on excel 2013 and it's work fine thank you again soo much.

    Regards,

+ 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] Sum values using vlookup with lookup cell containing comma separated values
    By tmalito in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-08-2019, 10:14 AM
  2. [SOLVED] Vlookup or Index to search and return multiple values in one cell separated by a comma
    By Trnecessary in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 10-17-2018, 12:59 PM
  3. Vlookup or Index to search and return multiple values in one cell separated by a comma
    By Trnecessary in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-17-2018, 10:37 AM
  4. Replies: 5
    Last Post: 07-31-2018, 01:43 PM
  5. [SOLVED] Vlookup table array matching with multiple value in single cell separated by comma.
    By kannoy in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 03-04-2015, 04:03 AM
  6. Return Y/N after matching from multiple lookup values separated by comma
    By indoglans in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-16-2011, 03:13 PM
  7. Transpose multiple comma separated values
    By SRd240sx in forum Excel General
    Replies: 2
    Last Post: 12-07-2009, 09:36 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