Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Natasha
 
Posts: n/a
Default #N/A instead of 0 when doing a VLOOKUP

I am using a VLOOKUP and everything is fine except when the result is 0, it
gives a #N/A instead of a 0. How do I get rid of the #N/A when doing a , I
want want the result to be 0.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default #N/A instead of 0 when doing a VLOOKUP

=IF(ISNA(vlookup_formula),0,vlookup_formula)

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Natasha" wrote in message
...
I am using a VLOOKUP and everything is fine except when the result is 0,

it
gives a #N/A instead of a 0. How do I get rid of the #N/A when doing a , I
want want the result to be 0.



  #3   Report Post  
Posted to microsoft.public.excel.misc
Pendelfin
 
Posts: n/a
Default #N/A instead of 0 when doing a VLOOKUP

Please can you copy and paste the formula you have entered, and I may be able
to tell you where you went wrong.

"Natasha" wrote:

I am using a VLOOKUP and everything is fine except when the result is 0, it
gives a #N/A instead of a 0. How do I get rid of the #N/A when doing a , I
want want the result to be 0.

  #4   Report Post  
Posted to microsoft.public.excel.misc
Natasha
 
Posts: n/a
Default #N/A instead of 0 when doing a VLOOKUP

Thank you your formula works, it is just very long.
Is there not a setting I can change on my PC? as my collegues laptop gives a
0 and not the #N/A result automatically when using the normal formual e.g.:
=VLOOKUP(A56,Per3!$A$1:$D$109,4,FALSE)

Thanks
Natasha

"Bob Phillips" wrote:

=IF(ISNA(vlookup_formula),0,vlookup_formula)

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Natasha" wrote in message
...
I am using a VLOOKUP and everything is fine except when the result is 0,

it
gives a #N/A instead of a 0. How do I get rid of the #N/A when doing a , I
want want the result to be 0.




  #5   Report Post  
Posted to microsoft.public.excel.misc
Natasha
 
Posts: n/a
Default #N/A instead of 0 when doing a VLOOKUP

Hi, thanks for your response.
The formula works, it is: =VLOOKUP(A56,Per3!$A$1:$D$109,4,FALSE)
My problem must be a setting somewhere. When there is a line where no info
or result are, it gives me a #N/A instead of a 0. My colleges Laptop
automatically gives a 0 and I do not know why.
Thanks
Natasha


"Pendelfin" wrote:

Please can you copy and paste the formula you have entered, and I may be able
to tell you where you went wrong.

"Natasha" wrote:

I am using a VLOOKUP and everything is fine except when the result is 0, it
gives a #N/A instead of a 0. How do I get rid of the #N/A when doing a , I
want want the result to be 0.



  #6   Report Post  
Posted to microsoft.public.excel.misc
Pendelfin
 
Posts: n/a
Default #N/A instead of 0 when doing a VLOOKUP

The only way I would write it would be.

=IF(ISERROR(VLOOKUP(A56,Per3!$A$1:$D$109,4,FALSE)) ,0,VLOOKUP(A56,Per3!$A$1:$D$109,4,FALSE))

Hope this helps.

"Natasha" wrote:

Hi, thanks for your response.
The formula works, it is: =VLOOKUP(A56,Per3!$A$1:$D$109,4,FALSE)
My problem must be a setting somewhere. When there is a line where no info
or result are, it gives me a #N/A instead of a 0. My colleges Laptop
automatically gives a 0 and I do not know why.
Thanks
Natasha


"Pendelfin" wrote:

Please can you copy and paste the formula you have entered, and I may be able
to tell you where you went wrong.

"Natasha" wrote:

I am using a VLOOKUP and everything is fine except when the result is 0, it
gives a #N/A instead of a 0. How do I get rid of the #N/A when doing a , I
want want the result to be 0.

  #7   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default #N/A instead of 0 when doing a VLOOKUP

Fraid not. You could use conditional formatting to hide #N/A but I would
advise against it, I don't beleiev in hiding errors, better to deal with
them.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Natasha" wrote in message
...
Thank you your formula works, it is just very long.
Is there not a setting I can change on my PC? as my collegues laptop gives

a
0 and not the #N/A result automatically when using the normal formual

e.g.:
=VLOOKUP(A56,Per3!$A$1:$D$109,4,FALSE)

Thanks
Natasha

"Bob Phillips" wrote:

=IF(ISNA(vlookup_formula),0,vlookup_formula)

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Natasha" wrote in message
...
I am using a VLOOKUP and everything is fine except when the result is

0,
it
gives a #N/A instead of a 0. How do I get rid of the #N/A when doing a

, I
want want the result to be 0.






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
Using single cell reference as table array argument in Vlookup CornNiblet Excel Worksheet Functions 3 September 22nd 05 09:15 AM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
Have Vlookup return a Value of 0 instead of #N/A Mr Mike Excel Worksheet Functions 4 May 25th 05 04:51 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


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