We help IT Professionals succeed at work.

Combine like values in a graph excel 2016

BriPC
BriPC asked
on
1,883 Views
Last Modified: 2017-03-12
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
Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2016

Commented:
No Attachment

Author

Commented:
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
byundtMechanical Engineer
CERTIFIED EXPERT
Most Valuable Expert 2013
Top Expert 2013

Commented:
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

Author

Commented:
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?
Mechanical Engineer
CERTIFIED EXPERT
Most Valuable Expert 2013
Top Expert 2013
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION

Author

Commented:
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!

Author

Commented:
The Pivot Chart with instructions from @byundt was exactly what i needed :) Fast and accurate! I am extremely grateful!