Incorrect date shown in chart

MInConst

New Member
Joined
Jul 12, 2009
Messages
21
I have a excel sheet excel ver 2007 that I type in a date and the date shown in an included chart shows an incorrect year. My dates are daily once that are from year 2006 to the present day but the access at the bottom of the chart shows years 1900 through 1904. This is the only place where the dates are wrong. What can cause this?
I've tried formating the date for the access to several types and they all show these years. hmmm. It's like Y2k happened here :)
snap2.jpg
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
It looks like you don't have the horizontal X axis labels defined properly in the chart series. The dates start at 1/1/1900 because that's the date you would get from a cell value of 1, which is what Excel will plot when the x-axis is left blank. There's a couple ways to check this.

Right click on the chart series, choose 'Select Data...'. In the chart data range box at the top of the window, does the range displayed in the box include the date values? Also, in the box in the lower right, are the values dates or just numeric 1,2,3....? These are indications that the series does not include the date labels.

You can also click the chart series and look in the formula bar below the ribbon.
The formula string should look something like this:
=SERIES(Sheet1!$B$1,Sheet1!$A$2:$A$35,Sheet1!$B$2:$B$35,1)
not this:
=SERIES(Sheet1!$B$1,,Sheet1!$B$2:$B$35,1)
The top string includes an additional series parameter that identifies the X-axis labels.

To resolve, right click on the series, choose 'Select Data...'. Click the series name in the box on the lower left, then click the 'Edit' button above the box on the right. Select the range of dates excluding the header cell.

Rick
 
Upvote 0

Forum statistics

Threads
1,213,527
Messages
6,114,150
Members
448,552
Latest member
WORKINGWITHNOLEADER

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