+ Reply to Thread
Results 1 to 12 of 12

Student improvements in a chart

  1. #1
    Registered User
    Join Date
    11-29-2013
    Location
    UK
    MS-Off Ver
    Office 365 subscription
    Posts
    58

    Student improvements in a chart

    I have a spreadsheet that tracks student performance before a course and after a course split over a number of different subjects. The spreadsheet takes the subjects from elsewhere and then puts them across the top columns of a new tab. in the 2 rows below it has the score out of 10 before the course and a score out of ten after the course for each subject.

    The issue is that the number of subjects changes.

    I've set up a bar chart that nicely shows the before and after for each subject but when it reaches a column that has no subject heading - and by definition no scores - it of course still puts the blank data in the chart.

    I can change the range of cells that the chart draws upon but I was hoping for a solution where the chart would know not to show any bars for blank columns. Otherwise I have to manually adjust each time the number of subjects changes.

    Be grateful for any thoughts!

    Thanks in anticipation...

    Ian

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Student improvements in a chart

    Have a look at the link below. Should help point you in the right direction.
    http://peltiertech.com/Excel/Charts/...umnChart1.html

    If you need more help then post a desensitized workbook and we can go from there.

    BSB

  3. #3
    Registered User
    Join Date
    11-29-2013
    Location
    UK
    MS-Off Ver
    Office 365 subscription
    Posts
    58

    Re: Student improvements in a chart

    Thanks very much BSB - very helpful.

    I can begin to see how to do it but am confused as my data runs in columns rather than rows.

    I attach a sample workbook as suggested in case there's an easy solution. Much obliged for any further help..
    Attached Files Attached Files

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Student improvements in a chart

    Is the data in rows 1:3 populated via formulas in your real data or is it manually input?

    BSB

  5. #5
    Registered User
    Join Date
    11-29-2013
    Location
    UK
    MS-Off Ver
    Office 365 subscription
    Posts
    58

    Re: Student improvements in a chart

    Hi

    It's populated by reference to formulas in a different tab.

    KR

    Ian

  6. #6
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Student improvements in a chart

    Is that true for both the subjects (row 1) and the scores (rows 2 & 3)?
    So if there were no scores they would show as zero?

    Lots of questions I know, but the solution is very much dependent on representation of the actual workbook.

    BSB

  7. #7
    Registered User
    Join Date
    11-29-2013
    Location
    UK
    MS-Off Ver
    Office 365 subscription
    Posts
    58

    Re: Student improvements in a chart

    Yes, all the data that appears in the chart would be in cells on that tab that are populated by a formula that refers to cells on another tab. They won't show as zeros because I've unchecked the setting that says to show zeros.

  8. #8
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Student improvements in a chart

    OK, have a look at the attached. The chart is now driven by 3 dynamic named ranges. One for the headers and one for the two sets of values.

    If you press Ctrl+F3 you'll bring up the name manager and by clicking on each you'll see the formula that makes them work.

    As the subject fields are populated (whether manually or via formulas) the ranges expand and therefore the chart updates.

    BSB
    Attached Files Attached Files
    Last edited by BadlySpelledBuoy; 04-22-2017 at 05:05 PM.

  9. #9
    Registered User
    Join Date
    11-29-2013
    Location
    UK
    MS-Off Ver
    Office 365 subscription
    Posts
    58

    Re: Student improvements in a chart

    that's very impressive!

    I'm now trying to amend my original spreadsheet to do the same. I've set up the same Dynamic Named Ranges but I can't see how to set up a chart to refer to them. Your chart refers to the data in the correct cells but I don't know how it does it and hence how I can make mine do so...

  10. #10
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Student improvements in a chart

    On your workbook left click on one of the bars in the chart to select it and then look at the text in the formula bar. Should start with "=SERIES...."

    Then do the same in the version I attached and see where it's different.

    Yours will refer to a range by cell references but mine refers to the range using the named of the ranges I set up.
    You simply need to amend this to reflect the required named ranges then repeat for the subsequent series in the charts.

    BSB

  11. #11
    Registered User
    Join Date
    11-29-2013
    Location
    UK
    MS-Off Ver
    Office 365 subscription
    Posts
    58

    Re: Student improvements in a chart

    That's great - thanks very much, BSB.

  12. #12
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Student improvements in a chart

    No probs at all Ian. Happy to help.

    Thanks for the rep point and have a good rest of weekend

    BSB

+ 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. Making improvements to chart generator tool - Easily adding or removing data?
    By gary_feesher in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-02-2016, 11:11 AM
  2. Creating a chart of student test scores
    By mmcgee in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-16-2014, 02:10 PM
  3. Replies: 1
    Last Post: 02-06-2014, 08:07 AM
  4. Select a Student and Produce a Radar Chart
    By saudus in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-13-2010, 04:27 AM
  5. Student Grades Distribution Chart
    By sjbuck in forum Excel General
    Replies: 7
    Last Post: 11-27-2007, 12:44 PM
  6. [SOLVED] Performance Improvements while using RTD
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 12-19-2005, 08:15 AM
  7. XY Chart Improvements For Scientific Data
    By Phil Preen in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 10-15-2005, 12:05 AM

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