+ Reply to Thread
Results 1 to 5 of 5

Line chart, skipping 0 or text entries

  1. #1
    Registered User
    Join Date
    02-18-2010
    Location
    Indianapolis, Indiana
    MS-Off Ver
    Excel 2007
    Posts
    47

    Line chart, skipping 0 or text entries

    I'm trying to plot a line chart, but there is a break in the line for every 0 entry... so I use an if statement to change the 0's to spaces ("") and is still creates a break in the line. Apparently excel 07 views txt as 0 as well.

    Is there any way to have the chart skip all 0 or txt entries?

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Line chart, skipping 0 or text entries

    Have you tried replacing with #N/A

  3. #3
    Registered User
    Join Date
    02-18-2010
    Location
    Indianapolis, Indiana
    MS-Off Ver
    Excel 2007
    Posts
    47

    Re: Line chart, skipping 0 or text entries

    That does work, but it makes the data source so ugly. I think I'm just going to deal with the break in the trend lines.

    Thanks!

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

    Re: Line chart, skipping 0 or text entries

    I usually use a conditional formatting on the data source to format #N/A with white text to keep it looking clean.
    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

  5. #5
    Registered User
    Join Date
    02-18-2010
    Location
    Indianapolis, Indiana
    MS-Off Ver
    Excel 2007
    Posts
    47

    Re: Line chart, skipping 0 or text entries

    Nice thanks 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