+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Registered User
    Join Date
    05-14-2009
    Location
    mancheter, england
    MS-Off Ver
    Excel 2007
    Posts
    21

    zero values in line charts

    How do I stop the line chart showing a value of zero for errors and zeros as for the example below? I have trued iserror and "" combinations.

    Expected (1st col) Actual (2nd col)
    10 11
    12
    14
    16 17
    18 18

    The data will appear at a future time when linked cells are updated

    I am currently using office on a mac but the final workbook will be on a PC
    Last edited by eric_t_viking; 06-01-2009 at 06:41 PM.

  2. #2
    Forum Moderator shg's Avatar
    Join Date
    06-21-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007
    Posts
    25,133

    Re: zero values in line charts

    Replace the blanks with NA()
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    05-14-2009
    Location
    mancheter, england
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: zero values in line charts

    in this example

    =IF(ISERROR('Wr Ind Progress'!S85),"",('Wr Ind Progress'!S85))

    replacing the "" with NA() still doesn't work

  4. #4
    Forum Moderator shg's Avatar
    Join Date
    06-21-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007
    Posts
    25,133

    Re: zero values in line charts

    Post a workbook.
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Registered User
    Join Date
    05-14-2009
    Location
    mancheter, england
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: zero values in line charts

    The workbook attached only contains dummy data to test it out. Usually the line graph would be updated every three months.
    Attached Files Attached Files

  6. #6
    Forum Moderator shg's Avatar
    Join Date
    06-21-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007
    Posts
    25,133

    Re: zero values in line charts

    To pick the example in D8, the value in P85 of the other sheet is zero, not an error.

    You also have circular references -- is that intentional?
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

  7. #7
    Registered User
    Join Date
    06-01-2009
    Location
    Camarillo, CA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: zero values in line charts

    I have the same issue. When a cell has a zero value I do not want a tick to show on my line chart until I put data into that particular cell.

  8. #8
    Registered User
    Join Date
    06-01-2009
    Location
    Camarillo, CA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: zero values in line charts

    Here is my workbook.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    05-14-2009
    Location
    mancheter, england
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: zero values in line charts

    Quote Originally Posted by shg View Post
    To pick the example in D8, the value in P85 of the other sheet is zero, not an error.

    You also have circular references -- is that intentional?

    The value is zero. If I stop the zero appearing, would that solve the problem of the line graph showing a value of zero?

    Also, could you explain a cirucular reference? I am fairly new to excel and have justed produced this to get the result I needed. I know it is not 'tidy', but it does what I need at the moment.

    Thanks for your support with this

  10. #10
    Forum Moderator shg's Avatar
    Join Date
    06-21-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007
    Posts
    25,133

    Re: zero values in line charts

    If I stop the zero appearing, would that solve the problem of the line graph showing a value of zero?
    Not if you stop it from APPEARING (like using conditional formatting to make it white as you have done, or suppressing display of zero), but if you stop it from being the RESULT being returned by the formula, yes.
    Also, could you explain a cirucular reference?
    You have formulas that in some way depend on their own results. If you're not doing it on purpose, it's always a mistake. Select the sheet that has them, delete those formulas, and reconstruct them so that they are not circular.
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

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.2.0