Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default Vlook up value is #N/A

Hello,
My vlookup returns the value #N/A, but I am using the value for other
culculation.
If the vlookup value returns to #N/A, then all my final result is #N/A.

How can I change the #N/A into "0" or blank, so it doesn't affect my final
result.

Thank you in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default Vlook up value is #N/A

ONe way:

=IF(ISNA(MATCH(A1, J:J, FALSE)), "", VOOKUP(A1, J:K, 2, FALSE))

In article ,
Hong wrote:

Hello,
My vlookup returns the value #N/A, but I am using the value for other
culculation.
If the vlookup value returns to #N/A, then all my final result is #N/A.

How can I change the #N/A into "0" or blank, so it doesn't affect my final
result.

Thank you in advance.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default Vlook up value is #N/A

=IF(ISERROR(VLOOKUP(...)),0,VLOOKUP(...))

Where (...) is your vlookup formula.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Hong" wrote:

Hello,
My vlookup returns the value #N/A, but I am using the value for other
culculation.
If the vlookup value returns to #N/A, then all my final result is #N/A.

How can I change the #N/A into "0" or blank, so it doesn't affect my final
result.

Thank you in advance.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default Vlook up value is #N/A

Note that ISERROR() will also ignore errors like #VALUE!, #REF!, etc.
which may not be desirable.

In general it's better to keep error trapping as narrow as possible, in
this case:

=IF(ISNA(VLOOKUP(...)),0,VLOOKUP(...))




In article ,
Luke M wrote:

=IF(ISERROR(VLOOKUP(...)),0,VLOOKUP(...))

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 857
Default Vlook up value is #N/A

Hi,

2003:
=IF(ISNA(VLOOKUP(A1,C1:D10,2,)),"",VLOOKUP(A1,C1:D 10,2,))

in 2007:
=IFERROR(VLOOKUP(A1,C1:D10,2,),"")

If this helps, please click the Yes button

Cheers,
Shane Devenshire

"Hong" wrote in message
...
Hello,
My vlookup returns the value #N/A, but I am using the value for other
culculation.
If the vlookup value returns to #N/A, then all my final result is #N/A.

How can I change the #N/A into "0" or blank, so it doesn't affect my final
result.

Thank you in advance.


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
VLOOK UP Kashif Excel Worksheet Functions 5 October 15th 07 07:30 AM
VLOOK-pivot table expanding want to update vlook automatically CrimsonPlague29 Excel Worksheet Functions 0 August 8th 07 09:44 PM
VLOOK-pivot table expanding want to update vlook automatically CrimsonPlague29 Excel Worksheet Functions 0 August 8th 07 09:44 PM
Need Help about vlook vlook fomula Excel Worksheet Functions 1 January 20th 07 02:42 PM
Vlook bimseun Excel Worksheet Functions 3 May 27th 06 11:50 PM


All times are GMT +1. The time now is 03:38 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"