Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 505
Default Excel 2002: Can I convert #N/A to 0 in the VLOOKUP( ) formula ?

Dear Sir,

When VLOOKUP formula fails to find the perfect match it always return with
#N/A.

Usually #N/A disable me to do any computation that involve that cell. The
result of any additional function always return with #N/A as well.

To overcome this problem. I always convert the formulas to values, sort it
out and clear those #N/A cells and enter zero to them.

Just take an example of the formula = VLOOKUP(B2, K24: Q120, 6,FALSE), may
In know if I could manipulate the formula to enable it to show 0.00 instead
of #N/A when match could not be found ?


Thanks

Low

A36B58K641
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 180
Default Excel 2002: Can I convert #N/A to 0 in the VLOOKUP( ) formula ?

change your formula as..

=IF(ISERROR(VLOOKUP(B2, K24: Q120, 6,FALSE)),0,VLOOKUP(B2, K24: Q120,
6,FALSE))

HTH,
--
Pranav Vaidya
VBA Developer
PN, MH-India
If you think my answer is useful, please rate this post as an ANSWER!!


"Mr. Low" wrote:

Dear Sir,

When VLOOKUP formula fails to find the perfect match it always return with
#N/A.

Usually #N/A disable me to do any computation that involve that cell. The
result of any additional function always return with #N/A as well.

To overcome this problem. I always convert the formulas to values, sort it
out and clear those #N/A cells and enter zero to them.

Just take an example of the formula = VLOOKUP(B2, K24: Q120, 6,FALSE), may
In know if I could manipulate the formula to enable it to show 0.00 instead
of #N/A when match could not be found ?


Thanks

Low

A36B58K641

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Excel 2002: Can I convert #N/A to 0 in the VLOOKUP( ) formula ?

Which will mask all errors, not just the #NA

Better to use the ISNA function to trap.

=IF(ISNA(vlookup)),0,vlookup))


Gord Dibben MS Excel MVP

On Wed, 26 Sep 2007 07:52:03 -0700, Pranav Vaidya
wrote:

change your formula as..

=IF(ISERROR(VLOOKUP(B2, K24: Q120, 6,FALSE)),0,VLOOKUP(B2, K24: Q120,
6,FALSE))

HTH,


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 505
Default Excel 2002: Can I convert #N/A to 0 in the VLOOKUP( ) formul

Hello Gord,

Your formula works well.

Many thanks.

Low

--
A36B58K641


"Gord Dibben" wrote:

Which will mask all errors, not just the #NA

Better to use the ISNA function to trap.

=IF(ISNA(vlookup)),0,vlookup))


Gord Dibben MS Excel MVP

On Wed, 26 Sep 2007 07:52:03 -0700, Pranav Vaidya
wrote:

change your formula as..

=IF(ISERROR(VLOOKUP(B2, K24: Q120, 6,FALSE)),0,VLOOKUP(B2, K24: Q120,
6,FALSE))

HTH,



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 505
Default Excel 2002: Can I convert #N/A to 0 in the VLOOKUP( ) formul

Hello Pranav,

Your formula works well.

Many thanks.

Low


--
A36B58K641


"Pranav Vaidya" wrote:

change your formula as..

=IF(ISERROR(VLOOKUP(B2, K24: Q120, 6,FALSE)),0,VLOOKUP(B2, K24: Q120,
6,FALSE))

HTH,
--
Pranav Vaidya
VBA Developer
PN, MH-India
If you think my answer is useful, please rate this post as an ANSWER!!


"Mr. Low" wrote:

Dear Sir,

When VLOOKUP formula fails to find the perfect match it always return with
#N/A.

Usually #N/A disable me to do any computation that involve that cell. The
result of any additional function always return with #N/A as well.

To overcome this problem. I always convert the formulas to values, sort it
out and clear those #N/A cells and enter zero to them.

Just take an example of the formula = VLOOKUP(B2, K24: Q120, 6,FALSE), may
In know if I could manipulate the formula to enable it to show 0.00 instead
of #N/A when match could not be found ?


Thanks

Low

A36B58K641



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Excel 2002: Can I convert #N/A to 0 in the VLOOKUP( ) formula ?

Test for the error in the formula:

=IF(ISERROR(VLOOKUP(19,B1:B8,1,FALSE)),0,VLOOKUP(9 ,B1:B8,1,FALSE))

--
Gary''s Student - gsnu200747


"Mr. Low" wrote:

Dear Sir,

When VLOOKUP formula fails to find the perfect match it always return with
#N/A.

Usually #N/A disable me to do any computation that involve that cell. The
result of any additional function always return with #N/A as well.

To overcome this problem. I always convert the formulas to values, sort it
out and clear those #N/A cells and enter zero to them.

Just take an example of the formula = VLOOKUP(B2, K24: Q120, 6,FALSE), may
In know if I could manipulate the formula to enable it to show 0.00 instead
of #N/A when match could not be found ?


Thanks

Low

A36B58K641

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 505
Default Excel 2002: Can I convert #N/A to 0 in the VLOOKUP( ) formul

Hello Garry's Student,

Your formula works well.

Many thanks.

Low

--
A36B58K641


"Gary''s Student" wrote:

Test for the error in the formula:

=IF(ISERROR(VLOOKUP(19,B1:B8,1,FALSE)),0,VLOOKUP(9 ,B1:B8,1,FALSE))

--
Gary''s Student - gsnu200747


"Mr. Low" wrote:

Dear Sir,

When VLOOKUP formula fails to find the perfect match it always return with
#N/A.

Usually #N/A disable me to do any computation that involve that cell. The
result of any additional function always return with #N/A as well.

To overcome this problem. I always convert the formulas to values, sort it
out and clear those #N/A cells and enter zero to them.

Just take an example of the formula = VLOOKUP(B2, K24: Q120, 6,FALSE), may
In know if I could manipulate the formula to enable it to show 0.00 instead
of #N/A when match could not be found ?


Thanks

Low

A36B58K641

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
Excel 2002: Vlookup formula not working Mr. Low Excel Discussion (Misc queries) 3 June 5th 07 02:49 PM
Excel 2002 : Why VLOOKUP formula does not show blanks or N/A ? Mr. Low Excel Discussion (Misc queries) 3 February 5th 07 02:26 PM
Vlookup formula - Excel Version 2002 biz Excel Worksheet Functions 1 September 26th 05 07:01 PM
Vlookup formula Excel version 2002 biz Excel Discussion (Misc queries) 0 September 7th 05 01:07 AM
VLookup Formula Excel Version 2002 biz Excel Worksheet Functions 0 September 1st 05 06:00 PM


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