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***

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***

No Attachment

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

Auction-Items-profit-and-loss--.xlsx

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

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

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

membership

This solution is only available to members.

To access this solution, you must be a member of Experts Exchange.

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!

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

ASKER

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