×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Are you an
Engineering professional?
Join Eng-Tips Forums!
• Talk With Other Members
• Be Notified Of Responses
• Keyword Search
Favorite Forums
• Automated Signatures
• Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

#### Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

# Graph Problem Displays Zero Values4

## Graph Problem Displays Zero Values

(OP)
In Excel - Graph showing data from a table has lines showing zero values for cells with zero values, screws up the appearance of the graph with all those colored lines and when data is "short", there is no data for the last values in a column, then the line with that short column of data drops to zero even though there is no data.  I know of no graph command telling it to ignore zero values.

Graph works fine if the cells in the table are blank, but if the table has formulas resulting in 0 the graph shows lines for all those zeros.

Have tried hiding the zeros with IF statements, no worky, cells show blank but graph still picks it up as a zero.

Have tried:
IF(C6=0,"",C6*.433)
0;-0;;@
I even turned off the Display Zero option for the worksheet.

PUMPDESIGNER

### RE: Graph Problem Displays Zero Values

4
Hello,

You need to replace the 0 with NA.

If the cells are formulas then do something like

=if(a1+b1=0,na(),a1+b1)

if your cells are just entered then you may need to create a new line of data e.g.

=if(a1=0,na(),a1)

THis should remove the line to 0.

----------------------------------
Hope this helps.
----------------------------------

maybe only a drafter
but the best user at this company!

### RE: Graph Problem Displays Zero Values

(OP)
Worked perfect.
Wish I could return the favor somehow.

PUMPDESIGNER

### RE: Graph Problem Displays Zero Values

Pumpdesigner,
There's not much you could tell 'onlyadrafter' about Excel. However, to return the favour read the groups in your areas of expertise and help someone else.
MRG

#### Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

#### Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Close Box

# Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

• Talk To Other Members
• Notification Of Responses To Questions
• Favorite Forums One Click Access
• Keyword Search Of All Posts, And More...

Register now while it's still free!