+ Reply to Thread
Results 1 to 7 of 7

Unwanted data change with scatter charts

  1. #1
    Forum Contributor
    Join Date
    06-15-2007
    Location
    Scotland
    Posts
    142

    Unwanted data change with scatter charts

    I am trying to plot an X,Y data using scatter chart, but I do not know, why excel is changing the series data values
    I am plotting the values range x and y, but instead excel is changing the x’s value for 1,2,3,….
    Every time that I open the chart’s data source, they are ok, but not in the chart.
    I wonder if I can attach the excel file, but as far I can see is not possible. That will be helpful to show the unwanted situation
    Thanks a lot

  2. #2
    Forum Contributor
    Join Date
    11-23-2005
    Location
    Perth, Australia
    Posts
    218

    Unwanted data change with scatter charts

    You can zip the workbook and then attach the file, making sure there is no sensitive information contained therein of course

  3. #3
    Forum Contributor
    Join Date
    06-15-2007
    Location
    Scotland
    Posts
    142

    attached zip files

    Thanks for the suggestion.
    Here are two files one is named 49 and the other one 20
    this is to show what the problem is:
    file 49, shows the chart wihthout problem.
    49 is the value for cell F1 in scheet 2
    so the X,Y values =SERIES("PW1";'2'!$D$9:$D$57;'2'!$E$9:$E$57;2) from sheet 2 are correctly plotted

    and file 20 is when the value in cell F1 in sheet 2 is changed to 20, so the data serie chart still =SERIES("PW1";'2'!$D$9:$D$57;'2'!$E$9:$E$57;2) but the chart instead of X1,y1:X2,y2....shows 1,y1:2,y2....

    thanks a lot for any help to solve this.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,453
    Quote Originally Posted by mmf
    I am trying to plot an X,Y data using scatter chart, but I do not know, why excel is changing the series data values
    I am plotting the values range x and y, but instead excel is changing the x’s value for 1,2,3,….
    Every time that I open the chart’s data source, they are ok, but not in the chart.
    I wonder if I can attach the excel file, but as far I can see is not possible. That will be helpful to show the unwanted situation
    Thanks a lot
    The usual reason Excel converts X data to {1,2,3,...} is because it interprets the first column as text or something else that it can't interpret as a number. Make sure all of the values in your x data are truly numbers. No "numbers stored as text", or error values, or text values or the like.

  5. #5
    Forum Contributor
    Join Date
    06-15-2007
    Location
    Scotland
    Posts
    142

    Can I vary the data range, linking it with a cell?

    The x cell has a formula as follow
    =IF(B10="";"";$B$6-$AB$4)
    so if B do not have any value, X will be ""

    the things is that originally i Set the chart for the full range of b which are 49 values.
    but when I change the value in the cell F1, which generate all B values, to 20
    I only have 20 values and the rest will "", so that is probably what is causing the trouble

    So will be possible to set the chart data range linked to the value of F1? so any time that I vary that value, the data range has just numeric values?
    thanks

  6. #6
    Forum Contributor
    Join Date
    06-15-2007
    Location
    Scotland
    Posts
    142

    problem not solve

    Despite tha advice I am not reachin any solution, any other suggestions?

  7. #7
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,453
    If I understand what you are doing, I think what you want is to use named ranges for X and Y. I don't use the feature, so I have no experience with it, but I thought I recall seeing discussions about making named ranges "dynamic" so that it changes as needed. See if that will help you.

+ 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