+ Reply to Thread
Results 1 to 4 of 4

Count sales of different products to same customer Excel

  1. #1
    Registered User
    Join Date
    11-16-2017
    Location
    NY, NY
    MS-Off Ver
    2010
    Posts
    2

    Count sales of different products to same customer Excel

    Hello,

    I am trying to get at some cross buying behavior from a large data set that I have. Here is simple, example of the Pivot Table I have put together so far:

    Brand A Brand B Brand C Brand D
    John 1 2
    Mark 1
    Amy 1 1

    Essentially I am trying to put together a grid that shows the number of instances where someone buys both Brand A and another brand. Is there a formula that would get at this? Thank you.

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Count sales of different products to same customer Excel

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    11-16-2017
    Location
    NY, NY
    MS-Off Ver
    2010
    Posts
    2

    Re: Count sales of different products to same customer Excel

    Hi Olly,

    Thanks for the suggestion and the help. Sorry for the confusion on the original post, didn't realize the formatting got all messed up.

    Attached is the sample data and then my desired output. There is a ton of data in my actual worksheet so a formula that would make it easy/efficient to get to the desired output would be great. Thanks very much.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2504
    Posts
    19,096

    Re: Count sales of different products to same customer Excel

    Here is a low tech option.
    Populate C3:F5 on the Sample Pivot Table sheet using the formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Populate G2:L2 on the Sample Pivot Table sheet with the combinations of brands.
    Populate G3:L5 with either TRUE or FALSE using the following formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Populate C3:F6 on the Desired Output sheet using the following formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Distinct products per customer
    By oteixeira in forum Excel General
    Replies: 5
    Last Post: 05-09-2017, 09:53 AM
  2. [SOLVED] Products for specific customer should appear in text boxes when we choose that customer.
    By MariaPap in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-21-2014, 05:22 AM
  3. 3000+ Rows of Data - Need to Summarise Customer Products & £ Spent
    By Milo_C in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-09-2013, 11:09 AM
  4. Finding out how many products a customer permanently stocks.
    By Paxman71 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-25-2013, 10:15 AM
  5. Top 3 sold products and qyty by customer from list
    By e602043 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-08-2013, 11:01 AM
  6. Searching and displaying multiple products per customer
    By idemdito in forum Excel General
    Replies: 1
    Last Post: 09-13-2011, 08:38 AM
  7. Customer CUSTOMER SALES DATABASE RECORDS
    By MatthewT2011 in forum Excel General
    Replies: 2
    Last Post: 03-13-2011, 05:22 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