+ Reply to Thread
Results 1 to 3 of 3

Scatter plot x-axis showing data as categories instead of values

  1. #1
    Registered User
    Join Date
    07-20-2016
    Location
    Cape Town
    MS-Off Ver
    2013
    Posts
    3

    Scatter plot x-axis showing data as categories instead of values

    I want to chart two columns - say column A on Y-axis and column B on X-axis. Both column values are based on formulas using the iferror function to return a space if the formula result is an error. So =IFERROR(my formula,""). When I then plot this data the Y-axis shows my numbers as spaces and blanks ("") as zero, but the X-axis then defaults to just showing the data sequentially as categories. So if there are 9 rows, there are just 1 to 9 categories across the bottom.

    The only way I can see to fix this is to leave my values as errors, so don't use the iferror function to clean it up but this is not ideal as it makes the spreadsheet appear very messy. I don't want to use conditional formatting to "hide" the error because this will just slow my spreadsheet down.

    I have shown two screenshots, one with the iferror function and one without it.

    Capture.PNG

    Capture2.PNG

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,431

    Re: Scatter plot x-axis showing data as categories instead of values

    No practice is to return #N/A, which the chart will ignore.

    If you can not use NA() because of the messy appearance in you data table create 2 additional columns just for charting and formatting them so no information appears. You could hide the cells but you will need to tell the chart to show hidden values.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    07-20-2016
    Location
    Cape Town
    MS-Off Ver
    2013
    Posts
    3

    Re: Scatter plot x-axis showing data as categories instead of values

    Thanks Andy! Sometimes one just have to live with what Excel can and cannot do.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Scatter plot with two X axis data
    By hityou123 in forum Excel Charting & Pivots
    Replies: 11
    Last Post: 02-02-2015, 08:26 PM
  2. Scatter Plot help -> categories with data point values
    By rogerdavid in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-27-2013, 03:43 AM
  3. Replies: 2
    Last Post: 07-26-2012, 09:27 AM
  4. Adding Second X-Axis with Custom Values to Scatter Plot
    By ageneral in forum Excel General
    Replies: 4
    Last Post: 07-17-2012, 08:26 AM
  5. Excel won't use my data on the x-axis of a scatter plot
    By Sabina in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 03-12-2012, 06:55 AM
  6. Scatter plot changing my horiz axis values
    By oucivileng in forum Excel General
    Replies: 2
    Last Post: 04-15-2011, 12:07 PM
  7. [SOLVED] how do I get the x-axis to plot values rather than categories in .
    By Boggins in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-15-2005, 04:06 PM

Tags for this Thread

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