+ Reply to Thread
Results 1 to 3 of 3

Can I avoid plotting 'non-empty' cells

  1. #1
    Registered User
    Join Date
    01-19-2006
    Posts
    13

    Can I avoid plotting 'non-empty' cells

    Hi
    I am plotting data such as the following on a simple line chart...

    Jan Feb Mar Apr May June
    10 11 12 0 0 0

    The future month (Apr, May , June) each contain a formula which returns either zero or "" as no data is available.

    The problem is that I don't want the future months to be plotted as zero, which is what happens. There is an option in Excel to avoid plotting 'empty' cells - but these cells are not empty as they contain a formula.

    Of course, I could simply choose Jan:Mar as the chart range and update it each month, but I know I'll forget to do it. Alternatively, I could delete the formula and paste them in each month, but that's still relying on me to remember.

    Thanks

  2. #2
    Kelly O'Day
    Guest

    Re: Can I avoid plotting 'non-empty' cells

    germullen:

    Here is a link to a post that I have on handling missing data.

    http://processtrends.com/pg_charts_missing_data.htm

    In your If formula, replace your "" with NA(). This will place a #N/A in
    your future cells. Excel recognizes #N/A and will not plot them. that should
    solve your problem.

    Bernard Liengme also has a post on handling missing data..

    http://www.stfx.ca/people/bliengme/E...issingData.htm


    ...Kelly

    [email protected]



    "germullen" <[email protected]> wrote
    in message news:[email protected]...
    >
    > Hi
    > I am plotting data such as the following on a simple line chart...
    >
    > Jan Feb Mar Apr May June
    > 10 11 12 0 0 0
    >
    > The future month (Apr, May , June) each contain a formula which returns
    > either zero or "" as no data is available.
    >
    > The problem is that I don't want the future months to be plotted as
    > zero, which is what happens. There is an option in Excel to avoid
    > plotting 'empty' cells - but these cells are not empty as they contain
    > a formula.
    >
    > Of course, I could simply choose Jan:Mar as the chart range and update
    > it each month, but I know I'll forget to do it. Alternatively, I could
    > delete the formula and paste them in each month, but that's still
    > relying on me to remember.
    >
    > Thanks
    >
    >
    > --
    > germullen
    > ------------------------------------------------------------------------
    > germullen's Profile:
    > http://www.excelforum.com/member.php...o&userid=30626
    > View this thread: http://www.excelforum.com/showthread...hreadid=531874
    >




  3. #3
    Registered User
    Join Date
    01-19-2006
    Posts
    13

    Smile That's brillant, thanks a lot

    That's brillant, thanks a lot

    Ger

+ 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