LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,101
Default Calculating maximums from data sorted by SKU and date

I have data in a form similar to this:

Date;SKU;Production
Date1;SKU1;Production1
Date2;SKU2;Production2

The production field is just a number, the date is a date, and the SKU is a
string.

I need to find the max average production number for each unique SKU that
was produced in a given month. There are numerous SKUs and numerous dates
that they were produced over a range of months. Some example data below:

5/6/06;010102/1;5600
5/7/06;010102/1;4000
6/2/06;010102/1;3000
6/4/06;010102/1;4000
3/2/06;03531/1;400
3/6/06;03531/1;200
4/1/06;03531/1;500

So for this data I would need excel to spit out on a seperate sheet:

010102/1;4800
03531/1;500

4800 is the average production for the month of May for SKU 010102/1 and for
June for SKU 010102/1 the avg production was 3500, but the max production in
a month for that sku was 4800 so that was put on the sheet.

Any help would be greatly appreciated. Thanks.
 
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
Calculating averages in sorted columns Nathan Excel Discussion (Misc queries) 4 October 6th 08 02:10 PM
Calculating data within a date range KeK23 Excel Worksheet Functions 4 September 26th 07 01:30 PM
running total by date (not sorted by date though...) rainxking Excel Worksheet Functions 4 May 16th 06 02:01 AM
How attach data in a row so it can be sorted by the date column? Steve Horn Excel Discussion (Misc queries) 2 March 20th 05 07:28 PM
Calculating Maximums L Buchy Excel Programming 5 September 26th 03 02:12 AM


All times are GMT +1. The time now is 12:17 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"