+ Reply to Thread
Results 1 to 10 of 10

XY scatter plot returns '1900' values instead of correct dates on x-bar

  1. #1
    Registered User
    Join Date
    12-05-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    60

    XY scatter plot returns '1900' values instead of correct dates on x-bar

    Hi,

    I`ve created a data set linked to dates, which I have formatted as 'Date'.

    Then, I created an XY Scatter chart but on the X-bar, dates are shown wrong: 10 January 1900...

    However, if I select a single point in the chart, is does show the right value... xx/xx/2012

    Anyone knows what could be wrong?

    Many thanks for your help!

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: XY scatter plot returns '1900' values instead of correct dates on x-bar

    hard to be sure without seeing the data
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  3. #3
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: XY scatter plot returns '1900' values instead of correct dates on x-bar

    do the Y values look correct? (just checking if the plot isn't inverted)

  4. #4
    Registered User
    Join Date
    12-05-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    60

    Re: XY scatter plot returns '1900' values instead of correct dates on x-bar

    Hi JP,

    Thanks for your quick reaction. Y-values are normal.

    When I use for instance a Line Graph, it does show the right dates. However, then (while I want to have 2 lines with different Y and X values) I can`t align both lines properly.

  5. #5
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: XY scatter plot returns '1900' values instead of correct dates on x-bar

    if you are using separate axes that is probably the root of the problem but it would be very helpful to see the chart

  6. #6
    Registered User
    Join Date
    12-05-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    60

    Re: XY scatter plot returns '1900' values instead of correct dates on x-bar

    Two different ranges for x-bar are used. However, they cover the same period (year 2011-2012) only one has weekly data points, the other daily.
    How come :
    -1900 is shown continuously on x-bar
    - one of both bars, doesn`t cover the total space on the x bar (last x-bar-value for both lines is somewhere in november 2012)
    Line graph.pnglScatter graph.png

  7. #7
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: XY scatter plot returns '1900' values instead of correct dates on x-bar

    when I said see the chart I meant a workbook not a picture ;-)

  8. #8
    Registered User
    Join Date
    12-05-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    60

    Re: XY scatter plot returns '1900' values instead of correct dates on x-bar

    Hmm trying to upload my excel file, any ideas?

  9. #9
    Registered User
    Join Date
    12-05-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    60

    Re: XY scatter plot returns '1900' values instead of correct dates on x-bar

    Found it!

    Wrong axes.xlsx

  10. #10
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: XY scatter plot returns '1900' values instead of correct dates on x-bar

    you've included blank cells in the source ranges which are considered to be 0 and 0 is treated as 0 days from 31/12/1899 in excel. if you change the ranges to only include real data you won't see the problem

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1