Avatar of BriPC
BriPC
 asked on

Combine like values in a graph excel 2016

In different data i have the same problem as this:
https://www.mrexcel.com/forum/excel-questions/218008-combining-like-values-pie-chart.html (example is from 11 years ago, hoping to find an answer..)

I have a column of category and in it contains various types repeated throughout my sheet.. I need to graph based on that column but i receive multiple outputs of the same category..

Example:
Column A --- Column B
"cat" 10
"Dog" 20
"Horse" 30
"Dog" 40
In the above example i want 3 categories in the chart showing percentages of the whole to be "Cat 10%", "Dog 60%", and "Horse 30%".

Instead what happens is i get 4 categories and Dog is repeated twice with percentages 20 and 40. How can i combine categories from column A that are the same value for my chart?

I've included the attachment of my sheet for reference ** My data for category is Hunting/Fishing, Garden, Electronic, Gun, etc***
snip-of-chart.JPG
Microsoft ExcelMicrosoft Office

Avatar of undefined
Last Comment
BriPC

8/22/2022 - Mon
Rgonzo1971

No Attachment
BriPC

ASKER
Here is the attached sheet.. I did copy and paste into google sheets and it did what i was wanting .. I still would prefer in excel if possible..
Auction-Items-profit-and-loss--.xlsx
byundt

I suggest using a PivotChart for your auction bids to show the percent the bid amounts are of the total. To do so:
1. Select any cell in your Table
2. Use the Insert...PivotChart menu item
3. In the resulting wizard, I chose to put the PivotChart in cell C1 of Sheet2
4. Drag "Bid Amt." into the Values block in the resulting Range Chooser
5. Drag "Category" into the Row Item block
6. Click the arrow to the right of Count of Bid Amt. in the Values block, then choose Value field settings d and specify to summarize by Sum
7. In that same dialog, go to the Show Values As tab and use the "Show values as" dropdown to choose "% of Grand Total"
8. Click OK
Auction-Items-profit-and-lossQ29008.xlsx
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
BriPC

ASKER
Thank you! I really like this, and it will help with presenting to the board.. My main goal (which i should've specified in description) is to get all of the Purchase/value amounts in and show which categories brought in the most and which ones we lost money in, more or less a profit and loss by category or income/expense by category.. if that makes sense.. is that possible?
ASKER CERTIFIED SOLUTION
byundt

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
BriPC

ASKER
This is more what i want :) Thank you very much! Yes, i need to finish getting the numbers for purchased/value amount but while others are getting that i needed to get the sheet formulas straight...

I hadn't used charts before and using the pre-configured ones just weren't right.. This is what i needed!
BriPC

ASKER
The Pivot Chart with instructions from @byundt was exactly what i needed :) Fast and accurate! I am extremely grateful!
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.