Power Query Course in Spanish
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 4 of 4

Thread: empty values in a line-graph when using a formula

  1. #1
    Guest

    Default

    I use a bar graph to display actual data and a line graph to display Budget data. Now, for obvious reasons, I only want to show data until February. The problem is that the line graph shows 0 (zero) values (which are the result of a formula like IF[ (A1="FEB-02";B1;"") ]and the bar graph does not show 0 (zero) values.
    I get the following situation in a graph:
    Jan Feb Mar Apr May
    Actual 5 6 8
    Budget 6 5 5 0 0

  2. #2
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    83,613
    Post Thanks / Like
    Mentioned
    33 Post(s)
    Tagged
    6 Thread(s)

    Default

    Use

    =IF[ (A1="FEB-02";B1;NA())

    instead of

    IF[ (A1="FEB-02";B1;""

    Aladin

  3. #3
    Guest

    Default

    Aladin, thanks for an efficient and FAST answer. It did the trick.
    Thanks a lot and eh... DE GROETEN VANUIT.... DRUNEN, NOORD-BRABANT, THE NETHERLANDS.

  4. #4
    Guest

    Default

    Aladin, thanks for an efficient and FAST answer. It did the trick.
    Thanks a lot and eh... DE GROETEN VANUIT.... DRUNEN, NOORD-BRABANT, THE NETHERLANDS.
    ps. what kind of lecturer are you ?

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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