make a pie chart with working subtotal and total

I am making a spread sheet with a total that with enteries substracts from it making a sub-total. In other words at the beginning I have $100 (whole pie chart in red) then for 10 seperate enteries I take away $10. Making sub-total substract by $10 each time and decreasing red pie chart by 10% each time in green. I can easily get the numbers spread sheet to work. What I am having trouble making work is the pie chart reflecting the difference from total and sub-total with each entry. I can only get 50% of the chart to change.


Thank you for the knowledge.

iMac, OS X Mountain Lion (10.8.3)

Posted on Apr 20, 2013 7:45 PM

Reply
4 replies

Apr 20, 2013 11:36 PM in response to littlebirdie

Hi lb,


Pie charts show values totaling 100%. You start off with 100, or 100% available and 0 or 0% taken away.


Each $10 entry subtracts 10 from the original 100. So after the first entry and subtraction you have 90 available and 10 taken, adding up to 100%.

User uploaded file

As the entries continue, the green wedge grows larger. Here seven entries have been subtracted from the available funds. I've shown this image with the chart selected to show where it is getting the two numbers, and the labels ro the legend below the pie.

User uploaded file


After the tenth entry you have subtracted all 100 and have 0 available, leaving a 100% green chart.

User uploaded file


I used formulas to calculate the amount left in column B, and to keep the cells blank where an amount to be subtracted had not yet been entered in column C.


B3: =IF(C>0,$B$2-SUM($C$2:C3),"")

Fill down to B12.


Formula in B13 and C13 calculate the amounts to be displayed on the chart.


B13: =MAX(B2:B12)-SUM(C2:C12)

C13: =SUM(C2:C12)


To change the chart colours from the default blue and darker green, select the chart, then click on the coloured square above column B to select the 'blue' wedge, then click the Fill Color well in the format bar and choose a red from the palette. If you want a brighter green than the one assigned by Numbers to column C's part of the chart, click th coloured square above column C, and repeat the process.


Regards,

Barry

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

make a pie chart with working subtotal and total

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.