Axis Labels on a Chart

Vintage79

Board Regular
Joined
May 29, 2007
Messages
168
Hello all,

I would really appreciate it if someone can help me to get a list of dates to appear as axis labels on a chart. I have uploaded the file here, as I don't think images will help much. But I will post the images anyway, just to explain what the issue is.

001.png

So, the first worksheet has dates and weights entered manually each week for one year. The 2nd worksheet contains a chart for ='Weight Record'!$E$4:$E$55. The vertical axis shows kilos - no problem there. But I would like the dates shown along the horizontal axis. Instead it just shows dates starting from 01/01/00 in increments of 1. I would like the values from C4:C55 to appear there. I have tried setting the chart data range to ='Weight Record'!$C$4:$E$55. I have also tried setting the range for the axis labels manually. Well, I've been trying everything I can think of for weeks, and cannot seem to get the dates there. Is it possibly a formatting setting?

Thanks for any help!
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Saba Sabaratnam

Active Member
Joined
May 26, 2018
Messages
403
Office Version
  1. 365
When I used your data to graph, I got date.

1624577108113.png



It may be caused as there is an empty column that your chart is using for Category axis.

Check if your chart Select Date Source dialogue box looks like this.
1624577198602.png


Kind regards

Saba
 
Solution

Vintage79

Board Regular
Joined
May 29, 2007
Messages
168
Thank you so much!! Not highlighting both ranges separately was the main issue. After that, a lot of reformatting is needed, due to all the custom changes I have made in trying to get it to display correctly. I think I will start from scratch using your method.

Thanks again! (y):)
 

Forum statistics

Threads
1,148,423
Messages
5,746,596
Members
424,032
Latest member
pochie2741

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
Top