Count sales of different products to same customer Excel

cdubs34

New Member
Joined
Jul 26, 2011
Messages
34
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 ABrand BBrand CBrand D
John12
Mark1
Amy11

<tbody>
</tbody>

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.
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
<style type="text/css">
table.tableizer-table {
font-size: 12px;
border: 1px solid #CCC ;
font-family: Arial, Helvetica, sans-serif;
}
.tableizer-table td {
padding: 4px;
margin: 3px;
border: 1px solid #CCC ;
}
.tableizer-table th {
background-color: #104E8B ;
color: #FFF ;
font-weight: bold;
}
</style>
<table class="tableizer-table">
<thead><tr class="tableizer-firstrow"><th></th><th>Brand A</th><th>Brand B</th><th>Brand C</th><th>Brand D</th><th>Brand A and Qty of Other Brands</th></tr></thead><tbody>
<tr><td>John</td><td>1</td><td> </td><td>2</td><td> </td><td>=IF(ISNUMBER(B2),COUNT(C2:E2),"")</td></tr>
<tr><td>Mark</td><td> </td><td>1</td><td> </td><td> </td><td>=IF(ISNUMBER(B3),COUNT(C3:E3),"")</td></tr>
<tr><td>Amy</td><td>1</td><td> </td><td> </td><td>1</td><td>=IF(ISNUMBER(B4),COUNT(C4:E4),"")</td></tr>
</tbody></table>
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,717
Members
448,985
Latest member
chocbudda

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top