Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 98
Default IF isna to avoid #N/A

I've been looking for this answer on previous posts but none found for my
formula : =vlookup($c$3,sheet2!$a$300:$d$400,columns($b:$e), 0)
Where do I add the IF ISNA in this Vlookup formula, I tried in different
places
and "I missed a parentesis", or" too many arguments" or" else".

--
Socrates said: I only know, I don''''''''t know nothing.
I say : I don''''''''t even know, I don''''''''t
know nothing.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default IF isna to avoid #N/A

=IF(ISNA(VLOOKUP($C$3,Sheet2!$A$300:$D$400,COLUMNS ($B:$E),0)),"",VLOOKUP($C$3,Sheet2!$A$300:$D$400,C OLUMNS($B:$E),0))

In general:

=IF(ISNA(YourFormula),"",YourFormula)

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Learning Excel" wrote in message
...
| I've been looking for this answer on previous posts but none found for my
| formula : =vlookup($c$3,sheet2!$a$300:$d$400,columns($b:$e), 0)
| Where do I add the IF ISNA in this Vlookup formula, I tried in different
| places
| and "I missed a parentesis", or" too many arguments" or" else".
|
| --
| Socrates said: I only know, I don''''''''t know nothing.
| I say : I don''''''''t even know, I don''''''''t
| know nothing.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 98
Default IF isna to avoid #N/A

Forgot 2 things
1- To return the cell empty ( no zeros)
2- Thanks in advance.
--
Socrates said: I only know, I don''''''''t know nothing.
I say : I don''''''''t even know, I don''''''''t
know nothing.


"Learning Excel" wrote:

I've been looking for this answer on previous posts but none found for my
formula : =vlookup($c$3,sheet2!$a$300:$d$400,columns($b:$e), 0)
Where do I add the IF ISNA in this Vlookup formula, I tried in different
places
and "I missed a parentesis", or" too many arguments" or" else".

--
Socrates said: I only know, I don''''''''t know nothing.
I say : I don''''''''t even know, I don''''''''t
know nothing.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default IF isna to avoid #N/A

Try one of these:

There's no need to use columns($b:$e) as your column_index argument.

=IF(ISNA(MATCH($C$3,Sheet2!$A$300:$A$400,0)),"",VL OOKUP($C$3,Sheet2!$A$300:$D$400,4,0))

=IF(ISNA(VLOOKUP($C$3,Sheet2!$A$300:$D$400,4,0))," ",VLOOKUP($C$3,Sheet2!$A$300:$D$400,4,0))

=IF(COUNTIF(Sheet2!$A$300:$A$400,$C$3),VLOOKUP($C$ 3,Sheet2!$A$300:$D$400,4,0),"")

--
Biff
Microsoft Excel MVP


"Learning Excel" wrote in message
...
I've been looking for this answer on previous posts but none found for my
formula : =vlookup($c$3,sheet2!$a$300:$d$400,columns($b:$e), 0)
Where do I add the IF ISNA in this Vlookup formula, I tried in different
places
and "I missed a parentesis", or" too many arguments" or" else".

--
Socrates said: I only know, I don''''''''t know nothing.
I say : I don''''''''t even know, I don''''''''t
know nothing.



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 98
Default IF isna to avoid #N/A

Not just missing the If isna in my formula but the "" and the repetition of
the whole formula, no wonder I could not get it. Thanks a lot Niek Otten.
As for you T. Valko : Wonderformulas! Thanks guys.
--
Socrates said: I only know, I don''''''''t know nothing.
I say : I don''''''''t even know, I don''''''''t
know nothing.


"T. Valko" wrote:

Try one of these:

There's no need to use columns($b:$e) as your column_index argument.

=IF(ISNA(MATCH($C$3,Sheet2!$A$300:$A$400,0)),"",VL OOKUP($C$3,Sheet2!$A$300:$D$400,4,0))

=IF(ISNA(VLOOKUP($C$3,Sheet2!$A$300:$D$400,4,0))," ",VLOOKUP($C$3,Sheet2!$A$300:$D$400,4,0))

=IF(COUNTIF(Sheet2!$A$300:$A$400,$C$3),VLOOKUP($C$ 3,Sheet2!$A$300:$D$400,4,0),"")

--
Biff
Microsoft Excel MVP


"Learning Excel" wrote in message
...
I've been looking for this answer on previous posts but none found for my
formula : =vlookup($c$3,sheet2!$a$300:$d$400,columns($b:$e), 0)
Where do I add the IF ISNA in this Vlookup formula, I tried in different
places
and "I missed a parentesis", or" too many arguments" or" else".

--
Socrates said: I only know, I don''''''''t know nothing.
I say : I don''''''''t even know, I don''''''''t
know nothing.






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default IF isna to avoid #N/A

You're welcome!

--
Biff
Microsoft Excel MVP


"Learning Excel" wrote in message
...
Not just missing the If isna in my formula but the "" and the repetition
of
the whole formula, no wonder I could not get it. Thanks a lot Niek Otten.
As for you T. Valko : Wonderformulas! Thanks guys.
--
Socrates said: I only know, I don''''''''t know nothing.
I say : I don''''''''t even know, I don''''''''t
know nothing.


"T. Valko" wrote:

Try one of these:

There's no need to use columns($b:$e) as your column_index argument.

=IF(ISNA(MATCH($C$3,Sheet2!$A$300:$A$400,0)),"",VL OOKUP($C$3,Sheet2!$A$300:$D$400,4,0))

=IF(ISNA(VLOOKUP($C$3,Sheet2!$A$300:$D$400,4,0))," ",VLOOKUP($C$3,Sheet2!$A$300:$D$400,4,0))

=IF(COUNTIF(Sheet2!$A$300:$A$400,$C$3),VLOOKUP($C$ 3,Sheet2!$A$300:$D$400,4,0),"")

--
Biff
Microsoft Excel MVP


"Learning Excel" wrote in
message
...
I've been looking for this answer on previous posts but none found for
my
formula : =vlookup($c$3,sheet2!$a$300:$d$400,columns($b:$e), 0)
Where do I add the IF ISNA in this Vlookup formula, I tried in
different
places
and "I missed a parentesis", or" too many arguments" or" else".

--
Socrates said: I only know, I don''''''''t know nothing.
I say : I don''''''''t even know, I don''''''''t
know nothing.






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
IF(ISNA.... olrustyxlsuser Excel Discussion (Misc queries) 6 November 21st 08 11:46 PM
IF ISNA Help Act Guy Excel Discussion (Misc queries) 4 December 15th 07 08:42 PM
ISNA Help Bigfoot17 Excel Worksheet Functions 2 March 21st 07 05:58 PM
ISNA help Matt Excel Worksheet Functions 1 October 14th 06 05:56 PM
Using ISNA with OR HBF Excel Worksheet Functions 4 May 1st 06 10:37 PM


All times are GMT +1. The time now is 05:06 AM.

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"