+ Reply to Thread
Results 1 to 4 of 4

Analyse each of the groups in a Data Table and send results to a Summary Table

  1. #1
    Registered User
    Join Date
    11-26-2012
    Location
    Myrtleford, Australia
    MS-Off Ver
    Excel 2013
    Posts
    25

    Analyse each of the groups in a Data Table and send results to a Summary Table

    The attached file shows a small sample of my Data Table and an Analysis Summary Table which I want to produce.
    The analysis is on each of the groups of results with the same Pattern No. within the Data Table.
    I think its best to use VBA but not sure how to set it up so any pointers would be appreciated. (I have a little VBA experience but not enough to know how to approach this problem)

    In the attached example -
    Cell H5 shows the first unique pattern number
    Cell I5 shows the number of times that pattern occurred in the Data Table.
    Cell J5 shows the percentage of times that the #100 Pattern produced a Green output
    Cell K5 shows the Average of the Ratings produced by all of the #100 Green Patterns

    Thank you for reading my post.
    I am using Excel 2013 on Windows 7
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,525

    Re: Analyse each of the groups in a Data Table and send results to a Summary Table

    Hi Peter,

    Refer attached where I have used native Excel formulas (this is generally preferable over VBA as it is more efficient).

    Regards,

    Robert
    Attached Files Attached Files
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  3. #3
    Registered User
    Join Date
    11-26-2012
    Location
    Myrtleford, Australia
    MS-Off Ver
    Excel 2013
    Posts
    25

    Re: Analyse each of the groups in a Data Table and send results to a Summary Table

    Hi Robert,

    I am a bit overwhelmed by your elegant solution, it is perfect and I had no idea where to start. Thank you so much for your help and for your amazingly quick response.

    Kindest regards,

    Peter

  4. #4
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,525

    Re: Analyse each of the groups in a Data Table and send results to a Summary Table

    Hi Peter,

    You're welcome. Always extra happy to help a fellow Aussie

    Just bear in mind that the formula in column H is an array formula so you must press CTRL+SHIFT+ENTER after typing or modifying this formula. When done correctly, Excel will automatically add braces, {}, around the formula. Do not simply type the braces yourself.

    All the best,

    Robert

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Analyse table content - Regional analysis
    By tatfish87 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-13-2015, 03:52 PM
  2. Pivot Table to analyse sales figures
    By mj04 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 12-21-2014, 09:54 PM
  3. Replies: 0
    Last Post: 09-05-2012, 06:12 PM
  4. Analyse data from worksheet in summary page
    By vernond in forum Excel General
    Replies: 5
    Last Post: 06-02-2011, 03:27 AM
  5. [SOLVED] PIVOT TABLE - Summary Table into a Databasae Table.
    By sansk_23 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-09-2005, 03:06 AM

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