Empty values in x axis

nemis

New Member
Joined
Nov 3, 2016
Messages
5
Hi, Excel pro's,

I have a problem with x axis values. I need to see all of years in the chart as I see now, but Excel includes all empty cells. But I don't need them, because it looks unpresentable. I tried to uncheck empty values on axis values options, but there too many values, so I can't uncheck them all. I tried to search for a different solution, but I found nothing.
Maybe someone knows a solution how to remove those empty values without messing nice-looking arrangement of years?
Link with printscreen of my chart -> Screenshot by Lightshot
All solutions work with me (formulas, functions etc.)

Thanks in advance!
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
What I have done in a similar situation is code to copy the data to a blank page as values, delete the 0 value columns and create the graph from that page.
 
Upvote 0

Forum statistics

Threads
1,215,219
Messages
6,123,687
Members
449,117
Latest member
Aaagu

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