+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    08-24-2009
    Location
    Chicago, US
    MS-Off Ver
    Excel 2003
    Posts
    9

    Autosorting and averaging data

    Hey All,
    So I have two columns of data: Product SKU numbers (column A), and Machine Set Points (column B).
    Lets say I have 2000 points of data collected over 2 months time and out of that are 20 unique SKUs. Each of these unique SKUs have a corresponding machine set points.
    What I want to do is this;
    1) Excel goes through column A and finds a unique SKU and puts that SKU number in column C. Then it loops to the next unique and so on...
    2) if that SKU occurs 5 times, I want it to take the corresponding data in column B (machine set points), average all that data, and then place that output into column D next corresponding to column C (unique SKUs).
    How can I program this in Excel?
    Thanks alot folks

    **EDIT**
    I do know about advanced filtering, but the data is loaded in from another database. And as soon that data is refreshed, I want it to automatically analyze and autofilter it (rather than the end user having to advanced filter it).
    Last edited by vikhound; 08-27-2009 at 04:26 PM.

  2. #2
    Forum Guru Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007
    Posts
    3,441

    Re: Autosorting and averaging data

    A Pivot Table would work well for this and would only need to be refreshed when new data is added. You can count SKUs and apply a filter to the table to show only SKU's with counts greater than X.

    See attached for basic example.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0