Scatter chart's overlap problem [VBA solution needed]

Akbarov

Active Member
Joined
Jun 30, 2018
Messages
347
Office Version
  1. 365
Platform
  1. Windows
Hello community,

I am trying to find a way to prevent chart labels from overlap.
So far best option I found is this source:

But for some reason It is not working on my charts. (Or not working correctly)
May be any one can help me with this VBA or suggest me different way to solve this problem?


Sample workbook:

Thank you,
 

Attachments

  • chartoverlap.png
    chartoverlap.png
    27.2 KB · Views: 17
  • chartoverlapformatting.png
    chartoverlapformatting.png
    16.2 KB · Views: 23

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
I couldn't make heads or tails of the workbook provided here. But Akbarov sent me a different workbook which was easier to figure out. His best approach was not to use a chart with loads of markers with data labels, but instead to use a horizontal bar chart, where the labels are used for the vertical axis. The value is no longer plotted as the height of the markers but as the length of the bars.
 
Upvote 0
Solution

Forum statistics

Threads
1,223,236
Messages
6,170,912
Members
452,366
Latest member
TePunaBloke

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