+ Reply to Thread
Results 1 to 3 of 3

Line Chart with Multiple Series

  1. #1
    Forum Contributor
    Join Date
    02-08-2005
    MS-Off Ver
    Microsoft 365
    Posts
    810

    Line Chart with Multiple Series

    Hi,

    I have a line chart that contains two series of data.

    Data for the second series is only available for around half of the time that the chart covers and I have blank cells ("" in the formula that returns them) for these periods in the data on which the chart is based.

    When I create the line chart the shorter series starts at 0 and is represented by a horizontal line until the date for which the first data point is available when it then spikes upward to that value.

    Can someone please tell me how to change the chart so that the first data point plotted for the shorter series will be the first observation.

    Thanks!
    Last edited by andrewc; 03-28-2019 at 08:51 AM.

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

    Re: Line Chart with Multiple Series

    I recommend this essay which talks about how Excel charts handle empty cells, and the closest approach to simulating "empty" cells with formulas: https://peltiertech.com/mind-the-gap...g-empty-cells/ you will find that, for line charts, having your formula return NA() behaves more like an empty cell than null string "".
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Contributor
    Join Date
    02-08-2005
    MS-Off Ver
    Microsoft 365
    Posts
    810

    Re: Line Chart with Multiple Series

    Thanks - that's a useful paper!

+ 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. Line Chart Multiple Data Series Format Same Color
    By mark.dehoog in forum Excel General
    Replies: 8
    Last Post: 02-16-2015, 05:15 AM
  2. [SOLVED] Formatting Multiple Series in Line Chart
    By Nerd1 in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 02-01-2013, 01:56 PM
  3. Replies: 6
    Last Post: 11-26-2012, 05:17 AM
  4. Replies: 6
    Last Post: 07-09-2012, 02:17 PM
  5. How to create a vertical reference line on a time series line chart
    By Bladebgii in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 05-23-2012, 10:17 AM
  6. Replies: 1
    Last Post: 05-07-2012, 11:53 AM
  7. Adding multiple line series to one chart
    By andy9054 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 03-11-2010, 11:59 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