ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Ignoring error values in a formula (https://www.excelbanter.com/excel-worksheet-functions/110004-ignoring-error-values-formula.html)

Nicola

Ignoring error values in a formula
 
Hi, please help I need to add 2 cells together but in some cases there is an
error (#N/A) value in one of cells. How can I ignore the #N/A but still
return the value of the other cell? Everything I've tried returns the value
#N/A. Please help!!


Anthony D

Ignoring error values in a formula
 
Hi, There is a function to check if a result is #N/A (value not available) so
for example cell a1 can be checked from another cell by:

=if(isna(a1),0,a1)

the zero being returned if a1 is a #N/A

Anthony

"Nicola" wrote:

Hi, please help I need to add 2 cells together but in some cases there is an
error (#N/A) value in one of cells. How can I ignore the #N/A but still
return the value of the other cell? Everything I've tried returns the value
#N/A. Please help!!



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

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