Is there a way to create a broken bar graph in Excel?

Scott Huish

MrExcel MVP
Joined
Mar 17, 2004
Messages
20,638
Office Version
  1. 365
Platform
  1. Windows
Is there away to create a broken bar graph in Excel? My data is so vastly different that I want the lower part of the graph to reasonably show the lower values on the graph and then break the graph and then a different scale at the top for the higher values?


LETTERAMOUNT
A
157​
B
255​
C
1,796​
D
69​
E
48​
F
8​
G
30​
H
21,595​
I
307​
J
105​
K
8,005​
L
1,368​
M
76​
N
346​
O
1,018​



This isn't real helpful:


1716241224337.png
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
For skewed data, try log-scale. Click on the y-axis -> Logarithmic scale.
1716242019240.png
 
Upvote 0
That's interesting, except that although that might be correct, the H value there doesn't visually look like anywhere around 20,000
 
Upvote 0
It's not meant to be 20,000. The log scale transforms data, bringing the larger values closer to the other values.

For example:
100,000 = 10^5 so log(100,000) = 5
100 = 10^2 so log(100) = 2.

Instead of plotting 100 vs. 100,000, it's visually better to plot 2 and 5.
 
Upvote 0
I'll work on it tomorrow. But that's the easiest thing I've seen. The only thing I would change to that procedure is not return 0 if it isn't the MAX I would return NA so it doesn't plot those points at all.

Microsoft really should create a way to do this without workarounds though.
 
Upvote 0
I'll work on it tomorrow. But that's the easiest thing I've seen. The only thing I would change to that procedure is not return 0 if it isn't the MAX I would return NA so it doesn't plot those points at all.

Microsoft really should create a way to do this without workarounds though.
Agreed.
 
Upvote 0

Forum statistics

Threads
1,224,815
Messages
6,181,135
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top