Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
KG KG is offline
external usenet poster
 
Posts: 33
Default Multistage sorting and subtotaling en route to a Pivot Table

I have inherited 4 databases (for 2003-2006), each with 21 columns and 25230
rows containing sales information by distributor, shipping point, quantity,
price, $ value, etc. etc. The problem is that (a) the database is unsorted by
distributor (the key parameter for the management report that I am trying to
produce) and (b) there is one complete row of data for each transaction
(i.e.,shipment) of the product made to each distributor, very much like an
Access table. In some cases, where a distributor buys the product in small
increments several times a year, there may be over 50 rows of data where
names, addresses, codes numbers, etc. are repeated over and over again.

What I need to do is:

(a) sort the database alphabetically so that I can group all distributors
together (this I can do!)
(b) then to subtotal sales of the same product to the same distributor, so
that I have a single total for each product, regardless of how many separate
shipments have been made during the year.
(c) then total sales for each distributor, with a subtotal for each product
according to (b)
(d) finally, to be able to have as visible cells total sales by product and
by distributor so that I can copy them to a new workbook for the creation of
a Pivot Table.

I tried to do this empirically but I have failed to have as visible cells
the ones that I really need. Your help with a logical protocol would be
GREATLY appreciated!
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to delete duplicate file example route 2_2:1 or route 2_2:2 Paul Excel Discussion (Misc queries) 5 October 8th 06 07:49 PM
Subtotaling a calculated field in a pivot table stu_padassol Excel Discussion (Misc queries) 0 August 2nd 06 08:14 PM
Pivot Table Sorting jesterhs Excel Discussion (Misc queries) 0 August 4th 05 06:38 PM
Sorting after subtotaling Katherine Excel Discussion (Misc queries) 2 January 25th 05 08:48 PM
Sorting after subtotaling Katherine Excel Worksheet Functions 1 January 25th 05 08:33 PM


All times are GMT +1. The time now is 09:08 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"