ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   vlookup (https://www.excelbanter.com/excel-discussion-misc-queries/86590-vlookup.html)

kraway

vlookup
 
When vlookup does not find the value, can I have it return a valeu of 0?
Maybe an "IF" statement?

Thanks for your help

Ardus Petus

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

HTH
--
AP

"kraway" a écrit dans le message de news:
...
When vlookup does not find the value, can I have it return a valeu of 0?
Maybe an "IF" statement?

Thanks for your help




Dave Peterson

vlookup
 
something like:

=if(iserror(vlookup(...)),0,vlookup(...))



kraway wrote:

When vlookup does not find the value, can I have it return a valeu of 0?
Maybe an "IF" statement?

Thanks for your help


--

Dave Peterson


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

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