ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I replace "#N/A" error, to continue my formula w/o error? (https://www.excelbanter.com/excel-worksheet-functions/72755-how-do-i-replace-n-error-continue-my-formula-w-o-error.html)

Ali Khan

How do I replace "#N/A" error, to continue my formula w/o error?
 
I am using a VLookup formula to collect data from a sheet, but every time I
get '#N/A#' error in one cell & the entire formula returns an error message.
I need to intervene manually to fix, which causes alot of time wastage.

I tried using 'conditional formatting'but had no luck.

Pls suggest a quick solution.

bpeltzer

How do I replace "#N/A" error, to continue my formula w/o error?
 
The answer will depend on how you want it fixed. Do you want the N/A to
cause the final result to be blank or 0, or to somehow indicate an error? If
so, you can detect the issue inside an if:
=if(isna(vlookup(...)),0,vlookup(...))


"Ali Khan" wrote:

I am using a VLookup formula to collect data from a sheet, but every time I
get '#N/A#' error in one cell & the entire formula returns an error message.
I need to intervene manually to fix, which causes alot of time wastage.

I tried using 'conditional formatting'but had no luck.

Pls suggest a quick solution.


CLR

How do I replace "#N/A" error, to continue my formula w/o error?
 
=IF(ISNA(YourVlookupFormula),"",YourVlookupFormula )

Vaya con Dios,
Chuck, CABGx3


"Ali Khan" wrote:

I am using a VLookup formula to collect data from a sheet, but every time I
get '#N/A#' error in one cell & the entire formula returns an error message.
I need to intervene manually to fix, which causes alot of time wastage.

I tried using 'conditional formatting'but had no luck.

Pls suggest a quick solution.



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

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