Pivot Table help with counts

CraigG

Board Regular
Joined
May 1, 2005
Messages
174
Office Version
  1. 365
  2. 2007
Platform
  1. Windows
  2. Mobile
I have data:

COMPANY 1:COMPANY 2:STATUS:PROVIDES:
Abc Limited123 and CoLiveProduct1
Abc Limited123 and CoLiveProduct2
Abc Limitedjk34jhknfdskjfns and CoLiveProduct3
Xyz Limitedsghjdgshjab and CoLiveProduct4

I need the pivot table to look like:

FILTER:
STATUS = Live

COMPANY1Count of COMPANY2Count of STATUS:
Abc Limited23
Xyz Limited11

I can create the pivot table counting number of live statuses against COMPANY1 no problem, what I'm struggling with is doing the Count of COMPANY2. If I add COMPANY2 to values it won't count unique values it just counts the total number of occurrences, eg in the above data it would count 3 for Abc Limited. I can't add COMPANY2 to Columns as I have too much data and would end up with 100s of columns.

Any help greatly appreciated on how I can do this.

Thanks
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
If you add the data to the data model (won't work in 2007 though), you will be able to use the Distinct Count option.
 
Upvote 0

Forum statistics

Threads
1,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

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