Consulting

Results 1 to 5 of 5

Thread: Graphs: Return null value.

  1. #1
    VBAX Tutor Benzadeus's Avatar
    Joined
    Dec 2008
    Location
    Belo Horizonte, Brazil
    Posts
    271
    Location

    Graphs: Return null value.

    Hello,

    Suppose you have this data:

    Jan Feb Mar Apr May Jun
    Setup 150 130 3 100 200

    All respective's month's data are filled, except Apr, that is null.

    If I plot a line graph, I'll have a discontinuos part between Mar and May. If I put a formula that return "" (empty), the graph will interpret 0 from that and will draw a line.

    The fact is that I need to set a formula there. Do you have any suggestions to discontinue the graph between Mar and May, without using VBA?

    Notice that, in my real problem, the formula of one or more cells can be empty and I need this descontinuity.
    ---
    Felipe Costa Gualberto
    Microsoft Excel MVP
    http://www.ambienteoffice.com.br

  2. #2
    Knowledge Base Approver VBAX Wizard p45cal's Avatar
    Joined
    Oct 2005
    Location
    Surrey UK
    Posts
    5,876
    May not be the whole answer:
    try changing the formula to return:
    NA()
    instead of:
    ""
    the chart will intercalate, rather than plot 0, will that do?
    p45cal
    Everyone: If I've helped and you can't be bothered to acknowledge it, I can't be bothered to look at further posts from you.

  3. #3
    VBAX Tutor Benzadeus's Avatar
    Joined
    Dec 2008
    Location
    Belo Horizonte, Brazil
    Posts
    271
    Location
    Yes, that will do.
    Thank you.
    ---
    Felipe Costa Gualberto
    Microsoft Excel MVP
    http://www.ambienteoffice.com.br

  4. #4
    VBAX Tutor Benzadeus's Avatar
    Joined
    Dec 2008
    Location
    Belo Horizonte, Brazil
    Posts
    271
    Location
    Err... where can I mark this thread as solved?
    ---
    Felipe Costa Gualberto
    Microsoft Excel MVP
    http://www.ambienteoffice.com.br

  5. #5
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Thread Tools dropdown at the head of the postings.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •