Dynamic horizontal axis labels (categories)

Raymond_de_Rozario

New Member
Joined
Aug 10, 2021
Messages
8
Office Version
  1. 2016
Platform
  1. Windows
Good afternoon,

Here I am again with another question. This morning I discovered that my chart wasn't automatically updating the way I wanted. So I searched and searched and came across this video which helped me out alot. Now my chart almost does everything I want, except change the range of the horizontal labels.

axis labels.png


As you can see the range for the axis is static. The bar is plotted in the chart, except for the label.
dynamic range.png

I've made several "names" which work perfectly. But whatever I do, I can't seem to make the RFC_nummer (number) and RFC_omschrijving (description) appear. It just shows the "name"

Your help is appreciated.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
One thing I forgot to mention is that the table at the beginning of the spreadsheet gets it's data from another excel file via a data connection that refreshes the data at startup. I found this video, but this doesn't work for me either, because the whole layout of my chart gets messed up.

ATM I "solved" my problem by giving the "RFC_nummer + RFC_omschrijving" range a ridiculously large static range. It works, but it's not that elegant. The chances of having 199 active RFCs is highly unlikely, and may never happen. Finding a solution that uses a dynamic range would be really great, also to extend my Excel knowledge :)

not so dynamic.png
 
Upvote 0

Forum statistics

Threads
1,223,248
Messages
6,171,027
Members
452,374
Latest member
keccles

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