+ Reply to Thread
Results 1 to 5 of 5

Excel VLOOKUP AVG function? Plant Metrics

  1. #1
    Forum Contributor
    Join Date
    05-20-2009
    Location
    Galway, Ireland
    MS-Off Ver
    Excel 2003
    Posts
    148

    Excel VLOOKUP AVG function? Plant Metrics

    Hi guys,

    Hope someone could help me out with this.

    Basically I'm trying to streamline the way my company does it's metrics. I have a sample excel sheet attached. This data is copied and pasted into excel every week from our documentation operating system.
    The numbers in red as you scroll down are time averages for that particular product stream which have to manually inputted which can be time consuming.

    Would there be a way i could paste this info into excel and for it to insert these averages for each product stream automatically? It doesn't matter where these averages are placed, they don't have to be directly under the respective product stream.

    Thanks for any help offered!
    Attached Files Attached Files
    Last edited by NBVC; 05-29-2009 at 01:43 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Excel VLOOKUP AVG function? Plant Metrics

    What determines the break points... i assume column C... but there is some inconsistencies.. eg.. in Quality Systems.. most start with QS, but one does not...

    If you can clean that up.. perhaps with the help of a helper column.. you can use Pivot tables..
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor
    Join Date
    05-20-2009
    Location
    Galway, Ireland
    MS-Off Ver
    Excel 2003
    Posts
    148

    Re: Excel VLOOKUP AVG function? Plant Metrics

    Thanks for the quick reply!

    Cleaned up that table and yes it is column C we use as a break point. I need to find averages across the range for each of the product streams (in other words by grouping the item in CAPS together as a whole group) All the DES's together, all the ALAB's together and so on.

    i'm not too familiar with pivot tables. how would they be an answer to my problem
    Attached Files Attached Files

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Excel VLOOKUP AVG function? Plant Metrics

    See attached...

    Sheet2 contains the Pivot Table

    Here are some basic tutorials on Pivot tables...

    http://www.techonthenet.com/excel/pivottbls/

    http://datapigtechnologies.com/ExcelMain.htm

    http://peltiertech.com/Excel/Pivots/pivotstart.htm

    What I did was add a helper column at the end that took everything left of the first dash (you will note that I had to hard code some because you had no dashes.. you will need to ensure this consistency in column C). You also need to give a slightly different column title.

    Then

    Data|Pivot Tables and Pivot Charts
    Click Next
    Make sure range covers your whole range.. click Next
    Select where you want the Pivot Table.


    Click Layout
    Drag Product Grouping to the Row Area
    Drag and drop each averaging item to the Data area..
    You may need to double-click each item after and select Average...

    Then click Finish.

    To get the columns side by side... simply click and drag the grey box with "Data" in it..to the right one cell.. all the columns will now be beside each other.

    You can format the columns to 2 decimals, etc...Right click >> Field Setting >> Number

    To refresh the table once new data comes in.. you will need to right-click and hit Refresh on the table itself.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    05-20-2009
    Location
    Galway, Ireland
    MS-Off Ver
    Excel 2003
    Posts
    148

    Re: Excel VLOOKUP AVG function? Plant Metrics

    thank you for all the help
    i really appreciate it!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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.6.0 RC 1