+ Reply to Thread
Results 1 to 6 of 6

Ignore Zeros and 1/0/1900 in graph

  1. #1
    Registered User
    Join Date
    07-03-2019
    Location
    Dallastown, PA
    MS-Off Ver
    Microsoft Office 2016
    Posts
    3

    Ignore Zeros and 1/0/1900 in graph

    Hi everyone. I have a workbook that automatically generates a scatter plot based on the data that is entered on a daily basis, however the graph will not show up unless I delete all the Zeros and all the dates that show up 01/0/1900. Is there anyway to have the graph ignore the Zeros and 01/0/1900?

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Ignore Zeros and 1/0/1900 in graph

    Hi Kscotten and welcome to the forum,

    From your description, I believe an Advanced Filter of your data to eliminate data and build a table of good data to the right, using the Copy To: option, is appropriate. Then do a scatter chart of the filtered data.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    07-03-2019
    Location
    Dallastown, PA
    MS-Off Ver
    Microsoft Office 2016
    Posts
    3

    Re: Ignore Zeros and 1/0/1900 in graph

    Hi Marvin,

    Thank you for the response I'm going to try and play around with this some tonight to see if I can get it to work. I was hoping to be able to solve this with an IF then statement of some kind but no matter what I try the graph crashes because the data is entered on a daily basis and the graph is trying to account for the zeros and/or the incorrect dates (01/0/1900) that excel puts in as a placeholder if that date has not been entered for the month yet.

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,826

    Re: Ignore Zeros and 1/0/1900 in graph

    It's not clear to me exactly how these 0 values fit into your data and chart. This essay may have some ideas for ignoring blank data: https://peltiertech.com/mind-the-gap...g-empty-cells/
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  5. #5
    Registered User
    Join Date
    07-03-2019
    Location
    Dallastown, PA
    MS-Off Ver
    Microsoft Office 2016
    Posts
    3

    Re: Ignore Zeros and 1/0/1900 in graph

    Thanks for the response, I believe I solved the "0" value issue with the help of that article. My only issue now is how to have the line graph ignore cells that don't have a date in them and are assigned a "01/0/1900"

    This causes the entire chart to be a jumbled mess until you clear out these values.

  6. #6
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,826

    Re: Ignore Zeros and 1/0/1900 in graph

    It's still not clear to me exactly what you are doing or what the problem is. I would note that 1/0/1900 is the number 0 formatted as date, so it looks to me like the same kind of problem for the x axis data as for the value data. As noted in Peltier's essay, line and scatter charts seem to work well by replacing 0 value with NA(). Without more detail, all I can suggest is to add a helper column =IF(date=0,NA(),date). Then use that helper column for the horizontal category axis data (and maybe make sure the Excel is using a date axis in your line chart) and see if that is enough to get Excel to ignore these points.

+ 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. MIN formula to ignore 00/01/1900 Date
    By MatthewIJClark in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-31-2018, 09:19 AM
  2. Ignore Blanks and Zeros
    By Alan_Bernardo in forum Excel General
    Replies: 3
    Last Post: 01-02-2017, 01:05 PM
  3. Small - Ignore zeros
    By pauldaddyadams in forum Excel General
    Replies: 6
    Last Post: 07-05-2015, 05:02 PM
  4. [SOLVED] How can I use min function with ignore zeros
    By migdad in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-20-2013, 06:17 AM
  5. Get Excel to ignore the first 4 zeros
    By Badvgood in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-09-2007, 06:39 PM
  6. [SOLVED] graph dates revert to 1900
    By Richard Goh in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 02-16-2005, 10:42 AM
  7. Ignore blanks or zeros
    By gil0730 in forum Excel General
    Replies: 1
    Last Post: 02-03-2005, 12:12 AM

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