Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default If Vlookup is error ( #NA)

I have this formula
=IF(VLOOKUP(RU!C3,data!$E$3:$R$16,2,FALSE)0,(VLOO KUP(RU!C3,data!$E$3:$R$16,2,FALSE)),"")

that is producing #NA if it doesn't find C3. I would instead like the result
to be blank "" when it produces an #NA


Thanks,

Steve
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default If Vlookup is error ( #NA)

What version of Excel are you using?

Try this...

=IF(COUNTIF(data!$E$3:$E$16,RU!C3),IF(VLOOKUP(RU!C 3,data!$E$3:$R$16,2,0)0,VLOOKUP(RU!C3,data!$E$3:$ R$16,2,0),""),"")

--
Biff
Microsoft Excel MVP


"Steve" wrote in message
...
I have this formula
=IF(VLOOKUP(RU!C3,data!$E$3:$R$16,2,FALSE)0,(VLOO KUP(RU!C3,data!$E$3:$R$16,2,FALSE)),"")

that is producing #NA if it doesn't find C3. I would instead like the
result
to be blank "" when it produces an #NA


Thanks,

Steve



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default If Vlookup is error ( #NA)

Worked great. Thank you.

And I do have version 2003.

Steve

"T. Valko" wrote:

What version of Excel are you using?

Try this...

=IF(COUNTIF(data!$E$3:$E$16,RU!C3),IF(VLOOKUP(RU!C 3,data!$E$3:$R$16,2,0)0,VLOOKUP(RU!C3,data!$E$3:$ R$16,2,0),""),"")

--
Biff
Microsoft Excel MVP


"Steve" wrote in message
...
I have this formula
=IF(VLOOKUP(RU!C3,data!$E$3:$R$16,2,FALSE)0,(VLOO KUP(RU!C3,data!$E$3:$R$16,2,FALSE)),"")

that is producing #NA if it doesn't find C3. I would instead like the
result
to be blank "" when it produces an #NA


Thanks,

Steve



.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default If Vlookup is error ( #NA)

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Steve" wrote in message
...
Worked great. Thank you.

And I do have version 2003.

Steve

"T. Valko" wrote:

What version of Excel are you using?

Try this...

=IF(COUNTIF(data!$E$3:$E$16,RU!C3),IF(VLOOKUP(RU!C 3,data!$E$3:$R$16,2,0)0,VLOOKUP(RU!C3,data!$E$3:$ R$16,2,0),""),"")

--
Biff
Microsoft Excel MVP


"Steve" wrote in message
...
I have this formula
=IF(VLOOKUP(RU!C3,data!$E$3:$R$16,2,FALSE)0,(VLOO KUP(RU!C3,data!$E$3:$R$16,2,FALSE)),"")

that is producing #NA if it doesn't find C3. I would instead like the
result
to be blank "" when it produces an #NA


Thanks,

Steve



.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 698
Default If Vlookup is error ( #NA)

Maybe this, but not completely sure.

=IF(ISERROR(VLOOKUP([RU]Sheet1!C3,data!$E$3:$R$16,2,FALSE)),0,((VLOOKUP([RU]Sheet1!C3,data!$E$3:$R$16,2,FALSE))))

HTH
Regards,
Howard

"Steve" wrote in message
...
I have this formula
=IF(VLOOKUP(RU!C3,data!$E$3:$R$16,2,FALSE)0,(VLOO KUP(RU!C3,data!$E$3:$R$16,2,FALSE)),"")

that is producing #NA if it doesn't find C3. I would instead like the
result
to be blank "" when it produces an #NA


Thanks,

Steve





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default If Vlookup is error ( #NA)

As written, it was producing zeros instead of blanks, but by changing the
,0, to ,"",
It worked as I wanted.

Thanks again,

Steve

"L. Howard Kittle" wrote:

Maybe this, but not completely sure.

=IF(ISERROR(VLOOKUP([RU]Sheet1!C3,data!$E$3:$R$16,2,FALSE)),0,((VLOOKUP([RU]Sheet1!C3,data!$E$3:$R$16,2,FALSE))))

HTH
Regards,
Howard

"Steve" wrote in message
...
I have this formula
=IF(VLOOKUP(RU!C3,data!$E$3:$R$16,2,FALSE)0,(VLOO KUP(RU!C3,data!$E$3:$R$16,2,FALSE)),"")

that is producing #NA if it doesn't find C3. I would instead like the
result
to be blank "" when it produces an #NA


Thanks,

Steve



.

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
VLOOKUP error Alfredo Martinez Excel Discussion (Misc queries) 2 October 28th 08 04:46 AM
vlookup error Vlookup not accurate Excel Discussion (Misc queries) 0 October 4th 06 06:21 PM
vlookup error Jim Excel Worksheet Functions 1 January 25th 06 08:49 PM
Value Not Available Error in Vlookup thefeokas Excel Discussion (Misc queries) 3 April 14th 05 05:57 PM
#N/A error with VLOOKUP Michelle Tucker Excel Discussion (Misc queries) 4 December 14th 04 01:23 PM


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

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

About Us

"It's about Microsoft Excel"