Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 82
Default IF, ISNA & VLOOKUP

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?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 82
Default IF, ISNA & VLOOKUP

Nevermind - lacking coffee and an extra bracket

"Sara" wrote:

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?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default IF, ISNA & VLOOKUP

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?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default IF, ISNA & VLOOKUP

Hi,

Just an FYI - if you are using 2007 then

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

Cheers,
Shane Devenshire

"Sara" wrote:

Nevermind - lacking coffee and an extra bracket

"Sara" wrote:

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?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 82
Default IF, ISNA & VLOOKUP

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?






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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?






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I need help with a IF(ISNA with vlookup LAB Excel Worksheet Functions 5 July 14th 08 11:28 PM
vlookup, IF, and ISNA MMBOLI Excel Discussion (Misc queries) 2 August 17th 06 04:53 PM
isna vlookup Tim Excel Discussion (Misc queries) 2 April 3rd 05 11:23 AM
ISNA and VLOOKUP Chris Kellock Excel Worksheet Functions 3 March 12th 05 07:05 AM
if isna and vlookup together tina Excel Worksheet Functions 2 January 20th 05 01:06 PM


All times are GMT +1. The time now is 04:10 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"