ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how do I replace #n/a in a formula with 0, without erasing my for. (https://www.excelbanter.com/excel-discussion-misc-queries/93233-re-how-do-i-replace-n-formula-0-without-erasing-my.html)

microsoft.public.excel.misc

how do I replace #n/a in a formula with 0, without erasing my for.
 

pls. type =if(iserror(vlookup(it's range)),0,vlookup(repeat vlookup formula)



"ChiragP" wrote:

I have a vlookup formula which sometimes gives the result #n/a ( due to the
result not being in the vlookup table ). However, I have another formula
which looks at this result and if this result is #n/a then it also gives me
the result #n/a.

Does anyone know how I can amend this so the second formula recognises the
#n/a as a 0 ????

The problem I have is that I need to keep all the formulas



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

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