+ Reply to Thread
Results 1 to 4 of 4

Sumproduct multiple criteria query

  1. #1
    Registered User
    Join Date
    05-18-2017
    Location
    UK
    MS-Off Ver
    2010
    Posts
    13

    Sumproduct multiple criteria query

    I feel like i might be massively over complicating things here:

    At first i thought i could do it with a pivot table but that didn't work out how i expected, then i thought i could get around it by doing a sumproduct but that didn't work out either..

    Background

    Imagine you have 1000s of customers some of which will have an iphone, ipad, apple tv, some will have samsung phone, ipad, sony tv, ps4, some will have pens and paper only.. I need to find out the propensity to have X product if they already have Y product (in real life this is across thousands of different products).

    See attached which gives an example of the data and supporting information.


    DATA LOOKS LIKE:

    CUST / PROD A B C D E F G H I J
    JOE BLOGGS 1 A E H
    JOE BLOGGS 2 B C D E F G H I J
    JOE BLOGGS 3 B D F H
    JOE BLOGGS 4 I
    JOE BLOGGS 5 D I
    JOE BLOGGS 6 B F H
    JOE BLOGGS 7 C F H J
    JOE BLOGGS 8 B E H
    JOE BLOGGS 9 A D G
    JOE BLOGGS 10 C F H


    I basically need to forget about the cust and plot out the prod letter relationships with each other if that makes sense?

    i'm not totally sure on the output but i envisaged something like the below:


    I feel like i need to re-format the data first of all but i'm not sure the best way to go about it.

    PVP A B
    A 2
    B 4
    C 1
    D 1 2
    E 1 2
    F 3
    G 1 1
    H 1 4
    I 1
    J 1


    Apologies for the terrible explanation, struggling to verbalise this hopefully the attachment should help.

    Any help would be greatly appreciated!!
    Attached Files Attached Files
    Last edited by Millixcel; 05-03-2018 at 07:26 AM.

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,939

    Re: Unsure how to proceed. Cross tab matrix or reformat data somehow? sumproduct?

    I Think your post does not complies with Forum Rule-1, Please change your Thread Title
    Last edited by samba_ravi; 05-03-2018 at 07:21 AM.
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,939

    Re: Unsure how to proceed. Cross tab matrix or reformat data somehow? sumproduct?

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Last edited by samba_ravi; 05-03-2018 at 07:21 AM.

  4. #4
    Registered User
    Join Date
    05-18-2017
    Location
    UK
    MS-Off Ver
    2010
    Posts
    13

    Re: Unsure how to proceed. Cross tab matrix or reformat data somehow? sumproduct?

    Sir, i think i love you!

    Thank you very much!

    It's so simple when you see it like that!

+ 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] Cross reference two overlapping data sets in the same table (matrix?)
    By McRebecky in forum Excel General
    Replies: 12
    Last Post: 06-26-2015, 04:22 PM
  2. Copying rows of data for each name then proceed next
    By zoenightshade in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-11-2015, 05:04 AM
  3. [SOLVED] Formula that will show proceed or not proceed
    By geliedee in forum Excel General
    Replies: 7
    Last Post: 01-29-2015, 07:35 AM
  4. How to proceed with Data Mining assingment
    By BruLee in forum Excel General
    Replies: 5
    Last Post: 03-06-2014, 10:05 AM
  5. [SOLVED] Summarising Data - the best wayto proceed?
    By andrewc in forum Excel General
    Replies: 6
    Last Post: 12-17-2013, 12:47 PM
  6. Best way for differencies cross matrix biulding
    By Alexander_Golinsky in forum Excel General
    Replies: 3
    Last Post: 05-08-2013, 09:08 AM
  7. Proceed Data and save in different files
    By norriscmk in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 06-18-2007, 07:00 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