View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default Vlookup return Zero if not there

Hi,

Try this

=IF(COUNTIF(B128:B134,C11)=0,0,VLOOKUP(C11,'Paymen t Matrix'!B128:C134,2,TRUE))

Mike

"Troy" wrote:

I'm doing a vlookup. If the value I"m looking up is not in the arrary I've
set up I want the formual to return a zero.

Here's the formula: =VLOOKUP(C11,'Payment Matrix'!B128:C134,2,TRUE)