#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default Keep getting #NA

Hi,

I have the following formula that I am having trouble with. If the lookup is
blank I would like the value to be 0. It keeps coming back #NA. What do I do
now?

Thank you for your help.

=VLOOKUP($B13,pmp3w1,3,FALSE)
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default Keep getting #NA

Is pmp3w1 a defined name?
Or did you mean =VLOOKUP($B13,"pmp3w1",3,FALSE)

You can easily substitute #NA with zero, but you should test the correctness of your formula first.

To substitute:
=IF(ISNA(YourFormula),0,YourFormula)
But are you sure? Isn't something wrong with your formula(s)? Why should you take the trouble to develop a formula which doesn't
yield any meaningful result?

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"roxiemayfield" wrote in message
...
| Hi,
|
| I have the following formula that I am having trouble with. If the lookup is
| blank I would like the value to be 0. It keeps coming back #NA. What do I do
| now?
|
| Thank you for your help.
|
| =VLOOKUP($B13,pmp3w1,3,FALSE)


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Keep getting #NA

One way:

=IF(ISNA(VLOOKUP($B13,pmp3w1,3,0)),0,VLOOKUP($B13, pmp3w1,3,0))

--
Biff
Microsoft Excel MVP


"roxiemayfield" wrote in message
...
Hi,

I have the following formula that I am having trouble with. If the lookup
is
blank I would like the value to be 0. It keeps coming back #NA. What do I
do
now?

Thank you for your help.

=VLOOKUP($B13,pmp3w1,3,FALSE)



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default Keep getting #NA

Thank you so much. Works great!

"T. Valko" wrote:

One way:

=IF(ISNA(VLOOKUP($B13,pmp3w1,3,0)),0,VLOOKUP($B13, pmp3w1,3,0))

--
Biff
Microsoft Excel MVP


"roxiemayfield" wrote in message
...
Hi,

I have the following formula that I am having trouble with. If the lookup
is
blank I would like the value to be 0. It keeps coming back #NA. What do I
do
now?

Thank you for your help.

=VLOOKUP($B13,pmp3w1,3,FALSE)




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Keep getting #NA

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"roxiemayfield" wrote in message
...
Thank you so much. Works great!

"T. Valko" wrote:

One way:

=IF(ISNA(VLOOKUP($B13,pmp3w1,3,0)),0,VLOOKUP($B13, pmp3w1,3,0))

--
Biff
Microsoft Excel MVP


"roxiemayfield" wrote in
message
...
Hi,

I have the following formula that I am having trouble with. If the
lookup
is
blank I would like the value to be 0. It keeps coming back #NA. What
do I
do
now?

Thank you for your help.

=VLOOKUP($B13,pmp3w1,3,FALSE)






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



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