weird totaling scheme

tvar

New Member
Joined
Sep 22, 2002
Messages
10
I've got a spreadsheet that looks like this. (The last colum isn't in the sheet yet; what I need help with is getting that colum to be calculated.)<html><table><tr><td>Customer</td><td>Location</td><td>Sales</td><td>Totals</td></tr><tr><td>1</td><td>ABC Co</td><td>Michigan</td><td>50</td><td></td></tr><tr><td>1</td><td>ABC Co</td><td>Michigan</td><td>100</td><td>150</td></tr><tr><td>1</td><td>ABC Co</td><td>Indiana</td><td>25</td><td></td></tr><tr><td>1</td><td>ABC Co</td><td>Indiana</td><td>30</td><td>55</td></tr><tr><td>1</td><td>XYZ Inc</td><td>Indiana</td><td>60</td><td></td></tr><tr><td>1</td><td>XYZ Inc</td><td>Indiana</td><td>80</td><td>140</td></tr><tr><td>1</td><td>XYZ Inc</td><td>Illinois</td><td>90</td><td></td></tr><tr><td>1</td><td>XYZ Inc</td><td>Illinois</td><td>100</td><td>190</td></tr><tr><td>2</td><td>XYZ Inc</td><td>Illinois</td><td>40</td><td></td></tr><tr><td>2</td><td>XYZ Inc</td><td>Illinois</td><td>20</td><td>60</td></tr></table></html>

I need a total amout of sales for each vendor, for each customer, for each location. One customer could have many branches in different locations, but each seperate location needs its own total. How can I calculate this last colum given these restrictions? Any help is greatly appreciated!

EDIT: Fixed the HTML.
This message was edited by tvar on 2002-09-23 14:36
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Hi - welcome to the board!

First suggestion - Pivot Tables!!! Have you tried that approach?

Paddy
 
Upvote 0
Pivot tables are exactly what I was looking for. I had no idea there was such powerful functionality in Excel. Thanks!
 
Upvote 0

Forum statistics

Threads
1,218,514
Messages
6,142,910
Members
450,453
Latest member
spaudel

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