ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   #N/A (https://www.excelbanter.com/excel-worksheet-functions/87107-n.html)

Arturo

#N/A
 
Surprising Zeros in Charts

My model is built.
Using #N/A - my chart displays perfectly, zeros suppressed.
This formula is what feeds the values in my chart series.
=IF(ISERROR(((AVERAGE(SHEET1!BE2:BM2))*(100/5))),€¯€¯,((AVERAGE(SHEET1!BE2:BM2))*(100/5)))

If I alter that error handling
to:=IF(ISERROR(((AVERAGE(SHEET1!BE2:BM2))*(100/5))),"#N/A",((AVERAGE(SHEET1!BE2:BM2))*(100/5)))
Zero still displays€¦
If I may ask €“ how would I alter this formula to function they way I hope it
would?

Sincerely,
Arturo

Domenic

#N/A
 
Try...

=IF(COUNT(Sheet1!BE2:BM2),AVERAGE(Sheet1!BE2:BM2)* 100/5,#N/A)

Hope this helps!

In article ,
Arturo wrote:

Surprising Zeros in Charts

My model is built.
Using #N/A - my chart displays perfectly, zeros suppressed.
This formula is what feeds the values in my chart series.
=IF(ISERROR(((AVERAGE(SHEET1!BE2:BM2))*(100/5))),€¯€¯,((AVERAGE(SHEET1!BE2:BM2))
*(100/5)))

If I alter that error handling
to:=IF(ISERROR(((AVERAGE(SHEET1!BE2:BM2))*(100/5))),"#N/A",((AVERAGE(SHEET1!BE
2:BM2))*(100/5)))
Zero still displays€¦
If I may ask €“ how would I alter this formula to function they way I hope it
would?

Sincerely,
Arturo


Miguel Zapico

#N/A
 
It may be treating #N/A as a string not the #N/A value. You may try this one:
=IF(ISERROR(((AVERAGE(SHEET1!BE2:BM2))*(100/5))),NA(),((AVERAGE(SHEET1!BE2:BM2))*(100/5)))

Hope this helps,
Miguel.

"Arturo" wrote:

Surprising Zeros in Charts

My model is built.
Using #N/A - my chart displays perfectly, zeros suppressed.
This formula is what feeds the values in my chart series.
=IF(ISERROR(((AVERAGE(SHEET1!BE2:BM2))*(100/5))),€¯€¯,((AVERAGE(SHEET1!BE2:BM2))*(100/5)))

If I alter that error handling
to:=IF(ISERROR(((AVERAGE(SHEET1!BE2:BM2))*(100/5))),"#N/A",((AVERAGE(SHEET1!BE2:BM2))*(100/5)))
Zero still displays€¦
If I may ask €“ how would I alter this formula to function they way I hope it
would?

Sincerely,
Arturo



All times are GMT +1. The time now is 01:36 AM.

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