PC Review


Reply
Thread Tools Rate Thread

Comparing different years sales/products

 
 
Rainer Poindexter
Guest
Posts: n/a
 
      13th Nov 2003
I'm trying to come up with a solution to this problem:
Sales for Customer XXX for 2002 include 1000 or more items
purchased. Sales for Customer XXX for 2003 include 1000 or
more items, but not necessarily the same items.

When I do a SORT by YEAR, then ITEM, then SUBTOTALS at
each change in ITEM, I get the proper answers, but how can
I line up the results side-by-side so that corresponding
items are on the same lines such as:
2002 SOLD 2003 SOLD Difference
ABC Widget 23 ABC Widget 24 1
BCD Widget 10 10
CDE Widget 14 -14
DGE Widget 9 DGE Widget 12 3

I can go through and add lines between non-matching items
manually, but that gets to be a drag when there may be
1000's of different items. Etc.
Any suggestions appreciated.
Thanks,
Rainer
 
Reply With Quote
 
 
 
 
George Nicholson
Guest
Posts: n/a
 
      13th Nov 2003
Rainer:

Create a Pivot Table and let Excel do the work for you.

If your data is in a list format with columns for (at least) YEAR, ITEM and
QTYSOLD, make a Pivot Table out of the list. Use ITEM as a RowField, YEAR
as a Column Field and (Sum Of) QTYSOLD as a Data Field.

In less than 30 seconds you can have a table that lists your items down the
left side and shows any 2002 sales side-by-side next to any 2003 sales.

Hope this helps,

--
George Nicholson

Remove 'Junk' from return address.


"Rainer Poindexter" <(E-Mail Removed)> wrote in message
news:0bbf01c3aa36$4ad980b0$(E-Mail Removed)...
> I'm trying to come up with a solution to this problem:
> Sales for Customer XXX for 2002 include 1000 or more items
> purchased. Sales for Customer XXX for 2003 include 1000 or
> more items, but not necessarily the same items.
>
> When I do a SORT by YEAR, then ITEM, then SUBTOTALS at
> each change in ITEM, I get the proper answers, but how can
> I line up the results side-by-side so that corresponding
> items are on the same lines such as:
> 2002 SOLD 2003 SOLD Difference
> ABC Widget 23 ABC Widget 24 1
> BCD Widget 10 10
> CDE Widget 14 -14
> DGE Widget 9 DGE Widget 12 3
>
> I can go through and add lines between non-matching items
> manually, but that gets to be a drag when there may be
> 1000's of different items. Etc.
> Any suggestions appreciated.
> Thanks,
> Rainer



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
have productids that don't have sales & saleof products not on pro babs Microsoft Access Queries 3 23rd Jul 2008 07:58 PM
Fraudulent sales of avast! products Randy Knobloch Spyware Announcements 0 17th Mar 2008 07:33 PM
Adding the sales values of products PeteB Microsoft Excel Misc 1 1st Dec 2007 05:05 PM
showing last years sales =?Utf-8?B?amVxMjE0?= Microsoft Access Reports 0 10th May 2006 08:09 PM
Query with multiple years and products =?Utf-8?B?TUJlZXo=?= Microsoft Access Queries 3 27th Oct 2005 07:42 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:11 AM.