ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   vlookup repl #/NA with 0 (https://www.excelbanter.com/excel-worksheet-functions/210836-vlookup-repl-na-0-a.html)

Cathy

vlookup repl #/NA with 0
 
using vlookup i want anytime a #/na is returned to be replaced with 0. I
haven't had any luck with nesting commands to get this acomplished.
thanks

T. Valko

vlookup repl #/NA with 0
 
Try it like this:

=IF(ISNA(VLOOKUP(.....)),0,VLOOKUP(.....))

--
Biff
Microsoft Excel MVP


"Cathy" wrote in message
...
using vlookup i want anytime a #/na is returned to be replaced with 0. I
haven't had any luck with nesting commands to get this acomplished.
thanks




Sheeloo[_3_]

vlookup repl #/NA with 0
 
Use

=IF(ISNA(Vlookup(),0,Vlookup()))

replace Vlookup() with your VLOOKUP formula...


"Cathy" wrote:

using vlookup i want anytime a #/na is returned to be replaced with 0. I
haven't had any luck with nesting commands to get this acomplished.
thanks



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

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