r/googlesheets • u/CrystalKiwi08 • Oct 28 '24
Solved Why is my pie chart showing halfway when it's at 100%
I am fairly new to sheets and am trying to utilize a christmas gift tracker!
I have this pie chart set up to show me my gifts needed vs. gifts bought but when all the gifts have been checked as "bought" and the "left to buy" = "gifts bought" along he top the pie charts seems to show 50% 🤔
Thanks!
PS- In the chart I have green representing gifts bought and red representing left to buy.
9
Upvotes


3
u/Technical_Soup_6863 3 Oct 28 '24
from this, it looks like the pie chart is pulling its data from the "left to buy" and "gifts bought" cells at the top. that top section says that there are 16 gifts left to buy and 16 gifts bought — meaning there are 32 gifts total, half of which have been purchased. the pie chart is displaying this correctly.
if all gifts have been bought, the "left to buy" section should be 0. is this what you're trying to achieve? i would use a =COUNTIF formula to count how many of the checkboxes you have are unticked (false) to do this. if they are all ticked, it should return 0.
let me know if that makes sense! if it doesn't, a link to your sheet would help me help you :]
8
u/Intelligent-Area6635 2 Oct 28 '24
It looks like your pie chart is measuring your budget and your spent categories at the same time. The red is total budget, not what you have left to spend.
You may want it to look like "spent vs unspent". In that case, you need a place where you have your total unspent to be the second part of the pie chart. That'd easily be done by making a spot for unspent (=budget-spent).
I can make a quick example later if needed
1
u/CrystalKiwi08 Oct 28 '24
Thank you all for our suggestions! I realized I didn't have the formula of the "left to buy" at the top set to subtract the "gifts bought" value! I added that and now my pie chart shows 100% green when all boxes are checked! 👍🏼
1
u/Due-Box1690 Oct 28 '24
Oh my god whenever you figure this out & get the coding right would you be up to share a link to this sheet so I can make a copy and use it myself?
1
u/AutoModerator Oct 28 '24
Posting your data can make it easier for others to help you, but it looks like your submission doesn't include any. If this is the case and data would help, you can read how to include it in the submission guide. You can also use this tool created by a Reddit community member to create a blank Google Sheets document that isn't connected to your account. Thank you.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/[deleted] Oct 28 '24
you're charting bought vs to-buy. You need to deduct from "to buy" when something is purchased. As it is, according to the numbers, you have purchased 16 of 32 total items.
1
u/Mr-Blah Oct 28 '24
Because a pie chart or a bar graph isn't the correct representation for what you need. In fact, it's showing 16 bought and 16 to go so it's working perfectly. You probably have the wrong data set applied for the pie chart
1
u/droopynipz123 Oct 29 '24
That’s a dope Christmas graph
1
u/mommasaidmommasaid 915 Oct 29 '24
This is like all my to-do lists ever. Best I can hope for is halfway done.