+ Reply to Thread
Results 1 to 4 of 4

Match between multiple values in single cells and lookup-list

  1. #1
    Registered User
    Join Date
    08-24-2015
    Location
    Stockholm
    MS-Off Ver
    Microsoft 365
    Posts
    7

    Match between multiple values in single cells and lookup-list

    Hi,

    As you can see in the attached Excel-file that I have two sheets:
    - "Segment-scoring": I have multiple customers and products for each segment. Note: I can't change this format. 2 separators are used in the cells: ";#", semicolon and hashtag.
    - "Lookup-scores": It gives the scores for each customer and product type.

    Question: I need to calculate the aggregated customer score (Column-C) and aggregated product score (Column E) for each segment by using the scores in the "Lookup-scores", maybe by using the Vlookup-function?
    Maybe retaining multiple values as arrays and matching them with the lookup-table. Or is there any simpler solution without array?

    Limitation: It is not efficient to split up the cells into new columns. In my real data, I have many values in each cell, and I got over 300 columns when I splitted up the cells with multiple values.

    Thanks in advance.
    Attached Files Attached Files
    Last edited by cercig; 04-14-2021 at 08:56 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    05-15-2017
    Location
    US
    MS-Off Ver
    365
    Posts
    901

    Re: Match between multiple values in single cells and lookup-list

    So for the first example that has these values:

    Florist
    Construction company
    Hotel
    Exchange office
    Restaurant
    Barber

    You are expecting the value of 35 in the "Customer Score"?

  3. #3
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Match between multiple values in single cells and lookup-list

    C2
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    E2
    Please Login or Register  to view this content.
    Last edited by AlphaFrog; 04-14-2021 at 09:46 AM.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  4. #4
    Registered User
    Join Date
    08-24-2015
    Location
    Stockholm
    MS-Off Ver
    Microsoft 365
    Posts
    7

    Re: Match between multiple values in single cells and lookup-list

    Quote Originally Posted by AlphaFrog View Post
    C2
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    E2
    Please Login or Register  to view this content.
    Wow, it was easier than I expected Thanks a lot.

+ 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. Replies: 1
    Last Post: 05-12-2020, 08:42 AM
  2. [SOLVED] Index Match List Lookup - Multiple same values with condition
    By UHD in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-25-2019, 09:43 AM
  3. Replies: 3
    Last Post: 03-10-2017, 07:56 PM
  4. Replies: 5
    Last Post: 07-22-2014, 03:33 AM
  5. [SOLVED] Lookup, find, match and list text from multiple cells
    By JSTR250 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-19-2014, 02:04 PM
  6. Replies: 3
    Last Post: 04-08-2014, 03:11 AM
  7. Sum values from multiple cells - multiple lookup values in single cell
    By taxdept in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-21-2012, 04:12 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