+ Reply to Thread
Results 1 to 17 of 17

Can't get tick boxes to effect pie chart

  1. #1
    Forum Contributor
    Join Date
    04-09-2014
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    250

    Question Can't get tick boxes to effect pie chart

    It's strange. I have set up a spread sheet which uses tick boxes and I have calculated it all up so that the percentage of ticks ticked is displayed in a cell etc. and when I link that data to a bar chart it works perfectly. .e.g as I tick the boxes the bar chart increases

    BUT when I try to do the exact same thing with a pie chart it doesn't work. any ideas why?

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Can't get tick boxes to effect pie chart

    Hi,

    You'll need to upload the workbook so that we can see your request in context.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    04-09-2014
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    250

    Re: Can't get tick boxes to effect pie chart

    this is the sheet
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    04-09-2014
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    250

    Re: Can't get tick boxes to effect pie chart

    it works fine with the barchart examples. by when I try to simply change them to pie charts or even start again and do it with pie charts it only seems to show one colour no matter what, must be simple but its doing my head in

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Can't get tick boxes to effect pie chart

    Hi,

    Maybe you are misunderstanding the way charts work. What you have are three charts each with only one series. Normally you would have a single chart with three series, each one resulting in a bar but ON the SAME chart.

    A Pie chart simply breaks a pie down into it's constituent parts, and hence by implication requires at least two series. With one series there is nothing to break down.

  6. #6
    Forum Contributor
    Join Date
    04-09-2014
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    250

    Re: Can't get tick boxes to effect pie chart

    Thanks for you reply. I designed the bar charts in that way on purpose as I wanted them to change according to my percentage ticks so making them overlap 100% etc and have one series. however, but when I try to do a pie chart in the same way. it doesn't work which I don't understand? surely at 10% it should show 10% of the pie and at 70%, show 70% etc ? why does it not do this like the bar chart does. whatever I do it just shows a full pie even thought the values change

  7. #7
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Can't get tick boxes to effect pie chart

    Hi,

    I think you misunderstand what a pie chart is doing. It takes a population of values, say 12 months sales, and creates 12 pie slices for each month where the size of the pie reflects the % each month's sales represents of the total sales.

    In your workbook you have three single charts as I said. Each one has only one value e.g. 30%. When you choose to represent this 30% on a PIE chart as a percentage of the whole, the whole IS 30%, hence the pie chart a) has only one value to work with, and b) by definition this single value of 30% is 100% of the total 30%

    With the bars you are giving them an x axis from 0-100 to work with and hence the single series value of say 30% can be shown compared to the 100%.

    Were you to put all three series on a single bar chart you would still see each bar stacked one above the other, BUT, and here's the difference, if you were to then change the chart type to a Pie, then you would have three slices. However just because one % was 30% (as in your first chart) you would not expect to see a slice which occupied roughly 1/3 of the whole pie, rather you would see the slice occupying the fraction that 30% bore to the sum of the %s. In the example yuo show these are roughly 30%, 57% & 83% say 170%, hence the 30% slice would occupy only 30/170ths of the whole pie - roughly 17%

    As with all these things you need to decide what you are trying to represent and choose the most appropriate chart. Personally I can't see why you can't put all three values on a single chart.
    Last edited by Richard Buttrey; 04-28-2014 at 06:42 AM.

  8. #8
    Forum Contributor
    Join Date
    04-09-2014
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    250

    Re: Can't get tick boxes to effect pie chart

    Thanks, your right I didn't think of the pie chart in that way.. is it not possible to do what I want with my data and a pie chart then? just because it would look better set as a piechart rather than a bar chart

  9. #9
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Can't get tick boxes to effect pie chart

    Hi,

    As I said, it depends what you are trying to show.

    See attached where I have added the single chart with bars and the pie chart.
    However whether the pie slices are what you want to convey only you can say.
    Attached Files Attached Files

  10. #10
    Forum Contributor
    Join Date
    04-09-2014
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    250

    Re: Can't get tick boxes to effect pie chart

    appreciate the efforts mate, but what I am trying to do is the following.

    I have those 3 bar charts and I have tallied up the 100% completion of all of them separately but also as a whole ...e.g if the first bar chart is 100% but the other one is 0%.. then the middle bar chart shows 50% (if that makes sense) because overall the project is half done.


    what I want the pie chart to show is ...the overall percentage.. e.g. if the first bar chart is 100% and the second is 50%... then I want the pie chart to somehow show 75% completion.. e.g. is there a way to create data for the piechart so that 75% of it goes green and the other 25% stays blank?

  11. #11
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Can't get tick boxes to effect pie chart

    Hi,

    What do you expect to see given the 3 current percentages of 30, 56 & 83

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

    Re: Can't get tick boxes to effect pie chart

    perhaps something like this where the 2 projects build up each half of the pie.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  13. #13
    Forum Contributor
    Join Date
    04-09-2014
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    250

    Re: Can't get tick boxes to effect pie chart

    Andy, that's the closest attempt yet.. now if I could just get the pie sections the same colour and remove the border so it looks like one pie with one segment = would be perfect

    thanks

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

    Re: Can't get tick boxes to effect pie chart

    to get slices to change colour you need to have 3 slices each with a unique colour and formula to either show or hide the slice.

    Not sure I understand the bit about borders and single slice pie. Surely a single slice pie IS the pie?

  15. #15
    Forum Contributor
    Join Date
    04-09-2014
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    250

    Re: Can't get tick boxes to effect pie chart

    what I meant was... the example you created would be perfect... IF the separate wedges in the pie were not visable to be separated. e.g. smooth and conjoined to look like it was just one set of data rather than 3

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

    Re: Can't get tick boxes to effect pie chart

    But it is not 1 set of data. It's 2 sets with the 3rd set being what is remaining of the previous 2.
    You can remove the border but then I don't think the chart is clear or easy to understand.

  17. #17
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Can't get tick boxes to effect pie chart

    Picking up on Andy's example is this what you mean.

    But as Andy says it doesn't convey the idea of it being a slice of a pie.
    Attached Files Attached Files

+ 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. Excel VBA to generate check boxes and restrict user to tick on the 3 boxes in a row
    By rhodalynn.rona in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-06-2012, 05:55 AM
  2. Excel 2007 : one tick box selects multiple tick boxes
    By brentroberts in forum Excel General
    Replies: 2
    Last Post: 12-31-2011, 09:29 PM
  3. tick boxes
    By skatmandu2002 in forum Excel General
    Replies: 1
    Last Post: 06-02-2008, 06:36 AM
  4. Tick Boxes
    By blain in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-12-2006, 06:10 AM
  5. Tick Boxes
    By Kayty in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 01-30-2005, 06:15 PM

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