ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   division by zero error (https://www.excelbanter.com/charts-charting-excel/165182-division-zero-error.html)

tom

division by zero error
 
I have data where there is a division by zero error because nothing is
entered, but that will change when the data is entered. Is there a way I can
suppress the chart from putting 0's in its place so that there is a gap in
the chart when there is a division by zero error?

Bernard Liengme

division by zero error
 
Try replacing the division formula by something along these lines:
=IF(A1="",NA(),B1/A1)
The chart engine ignores N/A
best wishes

--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"Tom" wrote in message
...
I have data where there is a division by zero error because nothing is
entered, but that will change when the data is entered. Is there a way I
can
suppress the chart from putting 0's in its place so that there is a gap in
the chart when there is a division by zero error?




David Biddulph[_2_]

division by zero error
 
If you current formula is =A1/B1, try =IF(B1="",NA(),A1/B1)
--
David Biddulph

"Tom" wrote in message
...
I have data where there is a division by zero error because nothing is
entered, but that will change when the data is entered. Is there a way I
can
suppress the chart from putting 0's in its place so that there is a gap in
the chart when there is a division by zero error?




tom

division by zero error
 
Thanks, worked like a charm!!

"Bernard Liengme" wrote:

Try replacing the division formula by something along these lines:
=IF(A1="",NA(),B1/A1)
The chart engine ignores N/A
best wishes

--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"Tom" wrote in message
...
I have data where there is a division by zero error because nothing is
entered, but that will change when the data is entered. Is there a way I
can
suppress the chart from putting 0's in its place so that there is a gap in
the chart when there is a division by zero error?






All times are GMT +1. The time now is 05:52 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com