Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Graph Problem Displays Zero Values 4

Status
Not open for further replies.

PUMPDESIGNER

Mechanical
Sep 30, 2001
582
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
 
Replies continue below

Recommended for you

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!
 
Thank you very much onlyadrafter.
Worked perfect.
Wish I could return the favor somehow.

PUMPDESIGNER
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor