View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default IF, ISNA & VLOOKUP

You're welcome!

--
Biff
Microsoft Excel MVP


"Sara" wrote in message
...
Thanks to both of you.

"T. Valko" wrote:

You just have some closing ")" in the wrong place. Try it like this:

=IF(ISNA(VLOOKUP(A138,SUMMARY_ADDITIONAL_PAY,9,0)) ,0,IF(VLOOKUP(A138,SUMMARY_ADDITIONAL_PAY,9,0)="", 0,2.19))


--
Biff
Microsoft Excel MVP


"Sara" wrote in message
...
Hi there,

I currently have the following formula
=IF(VLOOKUP(A137,SUMMARY_ADDITIONAL_PAY,9,FALSE)=" ",0,2.19)

I'm trying to amend this to include;
IF (VLOOKUP) = #N/A then make it 0

I had a look at previous posts and I can't get it working. My formula
currently is
=IF(ISNA(VLOOKUP(A138,SUMMARY_ADDITIONAL_PAY,9,FAL SE),0,IF(VLOOKUP(A138,SUMMARY_ADDITIONAL_PAY,9,FAL SE)="",0,2.19)))

The message window tells me that the "0" in the ISNA function is
causing
an
error.

What have I done wrong?