ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   How to make the bar stand in between the numbers on the axis (https://www.excelbanter.com/charts-charting-excel/237475-how-make-bar-stand-between-numbers-axis.html)

Min Xu

How to make the bar stand in between the numbers on the axis
 
I wanna show there are 40 students got the grade between 70 and 90. I
want to have both 70 and 90 on my horizontal axis, and a bar
representing 40 students standing in between the numbers. How am I
able to do this? Thanks a lot.

smartin

How to make the bar stand in between the numbers on the axis
 
Min Xu wrote:
I wanna show there are 40 students got the grade between 70 and 90. I
want to have both 70 and 90 on my horizontal axis, and a bar
representing 40 students standing in between the numbers. How am I
able to do this? Thanks a lot.


One way would be to leave a blank category between 70 and 90, and place
the data next to it. Something like this:

No.Students
70
40
90

Now nothing will be plotted at the labels 70 or 90, but a bar
representing 40 students will appear between them.

Andy Pope

How to make the bar stand in between the numbers on the axis
 
Hi,

Using the following data you can create an Area chart, changing the axis to
Time series rather than category.
Also set the number format for the axis to General. Adjust the scale setting
so major step is 10 days.

Students
0 0
70 0
70 40
90 40
90 0
100 0

Cheers
Andy
--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"Min Xu" wrote in message
...
I wanna show there are 40 students got the grade between 70 and 90. I
want to have both 70 and 90 on my horizontal axis, and a bar
representing 40 students standing in between the numbers. How am I
able to do this? Thanks a lot.




All times are GMT +1. The time now is 09:54 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com