+ Reply to Thread
Results 1 to 11 of 11

Set up Pivot Chart with multiple years

  1. #1
    Registered User
    Join Date
    08-30-2010
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    30

    Set up Pivot Chart with multiple years

    Hi

    I am trying to work out the best way to set up a Pivot Chart using the following headings.... There are 800 students (rows)

    ID, Year of Entry, Class, Level, 2001, 2002, 2003, 2004, 2005, 2006, 2007


    Each Row is a unique Student, and the other data is as follows;
    Year of Entry = 1998 - 2001
    Class = Math, English, German etc...
    Level = Honours, Advanced, Introduction

    And for each of the "Year" columns (2001,2002 etc...), their could be grades such as Good, Exceeded, Outstanding, Average, No Rating.

    So I think what I want to do is either have the User choose which "Year" of Grading to look at, or count how many "Good", "Exceeded" etc... for each of the "Years".

    Thanks

    Ronan
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Rahul Nagar's Avatar
    Join Date
    09-18-2008
    Location
    nasik
    MS-Off Ver
    Excel 2003
    Posts
    465

    Re: Help required trying to understand best way to set up Pivot Chart with mutliple y

    Hello,

    Please check the attached file.
    Hope this would help you.
    Attached Files Attached Files
    __________________
    Regards
    Rahul Nagar
    Founder of www.myshortcutkeys.com.


    If you get the answer of your questions then please click EDIT in your original post then click on GO ADVANCED and set the PREFIX box to SOLVED. It helps everybody! ....
    Also
    If you are satisfied by any members response to your problem please consider using the scales icon top right of thier post to show your appreciation.

  3. #3
    Registered User
    Join Date
    08-30-2010
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    30

    Re: Help required trying to understand best way to set up Pivot Chart with mutliple y

    Thanks Rahul

    I made it a Pivot Chart, and moved some of the headings around. But I think What I need is the Pivot Chart showing the count of Goods, Excellent etc...Overall,
    but also somehow, set it up so that the Uesr could choose which year of data they wished to see.. If that makes sence.

    Thanks

    Ronan
    Last edited by ronanm; 12-27-2010 at 08:36 AM. Reason: spelling

  4. #4
    Valued Forum Contributor Rahul Nagar's Avatar
    Join Date
    09-18-2008
    Location
    nasik
    MS-Off Ver
    Excel 2003
    Posts
    465

    Re: Help required trying to understand best way to set up Pivot Chart with mutliple y

    you can see on the top of the chart where I have mention year of entry

  5. #5
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Help required trying to understand best way to set up Pivot Chart with mutliple y

    I think you will need to re-arrange your source data. Instead of 1 record per student you will need 7 records, 1 for each grade year.

    See attached with alternative data layout on sheet1 and pivot table on sheet5
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  6. #6
    Registered User
    Join Date
    08-30-2010
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    30

    Re: Help required trying to understand best way to set up Pivot Chart with mutliple y

    Yes, I see that. But I think what I need instead of simply the "Count" of the entries in each of the "Year" columns, 2001,2002,2003 etc, is to be counting how many Goods, Excellent, Exceeded etc.. for each "Year" column...

    I have added a screen shot of how "I think" it would be...


    Thanks

    Ronan
    Attached Images Attached Images

  7. #7
    Registered User
    Join Date
    08-30-2010
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    30

    Re: Help required trying to understand best way to set up Pivot Chart with mutliple y

    Thanks Andy. I will have a play with that...

    I might get way with the following (See Screenshot) Shame I need to repeat the Rows though as it's linked to an Access database... But I can set up a new "linked" sheet to that...


    Regards

    Ronan

  8. #8
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Help required trying to understand best way to set up Pivot Chart with mutliple y

    You chart shows %Graduates which is actually the count, so I assume this is just a typo.

    Add the following fields to the Page Field section of the PT,
    Year of Entry
    Class
    Level
    GradeYear

    To the Row field,
    Grade

    Display count of Grade. Setting the field option to show % of Column is you want percentages rather than Counts.

  9. #9
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Help required trying to understand best way to set up Pivot Chart with mutliple y

    Data layout is important when dealing with Pivot tables.

    I assume you are having the same problems in Access when it comes to getting the report layout you want from the data structure you have.

  10. #10
    Registered User
    Join Date
    08-30-2010
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    30

    Re: Help required trying to understand best way to set up Pivot Chart with mutliple y

    Thanks Andy. Well, with Access, I'm really using Excel files dumped from Oracle, and then using those as tables within Access, relating them on the ID, as I have no control over Oracle.
    I will have a re-think on how I can pull it diferently from Access.

    Many thanks

    Ronan

  11. #11
    Registered User
    Join Date
    08-30-2010
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    30

    Re: Help required trying to understand best way to set up Pivot Chart with mutliple y

    Actually Andy
    Using your sample with the formulas, I have pulled it together.
    Thanks so much for the advice.

    Appreciate it

    Ronan

+ Reply to Thread

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