Excel Trend chart with Dates on x-axis

ijourneaux

New Member
Joined
Jul 9, 2018
Messages
36
I have an variant array with date/value pairs. If I plot with a line chart, the dates are correctly represented on the X-axis. I would prefer to have it as an X-Y chart (so there are no lines connecting the points). If I change the chart type to X-Y an change the x-axis formatting to date x-axis scale has dates from the the early 1900's instead of the range in the data.

Is there a way around this?
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
In the x-axis formatting task pane, change the Number format to one that does not include the year if all you want to display are the month and day. Here are the formats my system offers.
Date-format-Aug-3-2019.jpg


If you also want the years displayed, check the year that has been entered in each cell to make sure it is correct since Excel just uses the data in the cells to populate the x-axis labels.

Hope that helps.
 
Upvote 0

Forum statistics

Threads
1,214,972
Messages
6,122,530
Members
449,088
Latest member
RandomExceller01

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