• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

How to show percentage and count in bar chart?

sn152

Member
Hi All,

In the attached workbook, I have created a chart which shows the Class wise Pass and Fail count. Now what I want is to show the pass and fail percentage as well in the respective bars for all the classes. I am not sure how to do this. Please help me here. Please note that both the count as well as the percentage data should be shown in the respective bars for each class. The count data label should be shown above the bar and the percentage data label should be shown in side the bar.

Thanks in advance!
 

Attachments

  • Sample Data.xlsx
    14.3 KB · Views: 8
Hi,

Add the other two series and set them in the Secondary axis (to the right)... then, overlap both sets of columns (basically use the same settings as you have for the first 2.

Now, simply make the last two series (%) transparent and adjust the position of the labels. Unfortunately, I think you will have to manually adjust some of the labels as they will overlap in some cases.

Attached...
Hope this helps.
 

Attachments

  • Sample Data.xlsx
    15.1 KB · Views: 18
Back
Top