+ Reply to Thread
Results 1 to 3 of 3

Scatter plot changing my horiz axis values

Hybrid View

  1. #1
    Registered User
    Join Date
    12-12-2010
    Location
    Athens, OH
    MS-Off Ver
    Excel 2007
    Posts
    9

    Scatter plot changing my horiz axis values

    I'm trying to plot a large set of data for my thesis research and am having some trouble making my scatter plot work correctly. I have 3 sets of data being plotted. For each set, I have a column of x values and a column of y values. In the original raw data, there are probably 8 columns total for each set. If there was an error for an individual point, it displayed an error code in the last column. So, I set up an "if" statement column to change the cells in my x and y columns that have corresponding errors to blank (for example =if(H3=1000,C3,"") with 1000 being a code indicating no error). When I try to plot, it replaces the x values with integers. I've tried going to "format cell" to set everything to numbers but nothing changed. If I leave the x values and just set the y cells to blank, the x axis is correct but the y cells that are blank show up as zero which is misleading. Can anybody help me to sort this out? I hope I've explained this well enough.

    Thanks
    Last edited by NBVC; 04-21-2011 at 11:36 AM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Scatter plot changing my horiz axis values

    It's difficult to tell without seeing some example data (uploading a dummy workbook with how your data is laid out would help immensely).

    You can set your formulas to return NA() (#N/A) instead of "" and Excel 2007 will ignore that point. For display purposes, i usually either have the actual data on a hidden sheet or conditionally format #n/a to white font.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    12-12-2010
    Location
    Athens, OH
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Scatter plot changing my horiz axis values

    NA() did the trick. Thanks!

+ 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