Calculate Company Revenue without Duplicating

purplesamcat

New Member
Joined
Feb 8, 2013
Messages
15
I have a spreadsheet with:

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Tier[/TD]
[TD]Company Name[/TD]
[TD]Company Revenue[/TD]
[TD]Product Line[/TD]
[TD]Product $[/TD]
[/TR]
[TR]
[TD]Top[/TD]
[TD]ABC[/TD]
[TD]$15,000,000[/TD]
[TD]Product 1[/TD]
[TD]$45[/TD]
[/TR]
[TR]
[TD]SMB[/TD]
[TD]DEF[/TD]
[TD]$7,000,000[/TD]
[TD]Product 2[/TD]
[TD]$50[/TD]
[/TR]
[TR]
[TD]Regional[/TD]
[TD]GHI[/TD]
[TD]$27,000,000[/TD]
[TD]Product 1[/TD]
[TD]$100[/TD]
[/TR]
[TR]
[TD]Top[/TD]
[TD]ABC[/TD]
[TD]$15,000,000[/TD]
[TD]Product 2[/TD]
[TD]$100[/TD]
[/TR]
[TR]
[TD]Top[/TD]
[TD]ABC[/TD]
[TD]$15,000,000[/TD]
[TD]Product 1[/TD]
[TD]$75[/TD]
[/TR]
[TR]
[TD]Top[/TD]
[TD]JKL[/TD]
[TD]$25,000,000[/TD]
[TD]Product 1[/TD]
[TD]$25[/TD]
[/TR]
[TR]
[TD]etc.[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

I want a report that shows Total Company Revenue by Tier without duplicate counting (I have 6,000 lines)

When I run a pivot report.... it sums the Company Revenue..... I could do Averages but then the total is the average too.... Like to End up with a report that shows

[TABLE="width: 500"]
<tbody>[TR]
[TD]Tier[/TD]
[TD]Company Revenue[/TD]
[TD]Total Product $[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Top[/TD]
[TD]$40,000,000[/TD]
[TD]$245[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Regional[/TD]
[TD]$27,000,000[/TD]
[TD]$100[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]etc[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
You can add a helper column that divides revenue by the count of unique items within a group, then the pivot table will give you the desired sum:


Excel 2010
ABCDEFGHIJK
1TierCompany NameCompany RevenueProduct LineProduct $adj comp rev
2TopABC$15,000,000Product 1$45$5,000,000Row LabelsSum of adj comp revSum of Product $
3SMBDEF$7,000,000Product 2$50$7,000,000Regional27,000,000100
4RegionalGHI$27,000,000Product 1$100$27,000,000SMB7,000,00050
5TopABC$15,000,000Product 2$100$5,000,000Top40,000,000245
6TopABC$15,000,000Product 1$75$5,000,000
7TopJKL$25,000,000Product 1$25$25,000,000
Sheet11
Cell Formulas
RangeFormula
F2=C2/COUNTIFS($A$2:$A$7,$A2,$B$2:$B$7,$B2)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,875
Members
452,363
Latest member
merico17

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