#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default VLOOKUP Issue???

Hello,

I am trying to perform a vlookup using the correct formula, and applying it
to a large range of cells in a row. Now, when the vlookup finds the correct
match in the array it returns the correct value [yeah :)], but when there is
no matching value it returns #NA, which affects the whole spreadsheet. Is
there any way I can get it to return a zero instead????

Desperately in need of help!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default VLOOKUP Issue???

Do it like this:

=IF(ISNA(your_vlookup_formula),0,your_vlookup_form ula)

Hope this helps.

Pete

On Jul 31, 4:37*pm, Desperate
wrote:
Hello,

I am trying to perform a vlookup using the correct formula, and applying it
to a large range of cells in a row. Now, when the vlookup finds the correct
match in the array it returns the correct value [yeah :)], but when there is
no matching value it returns #NA, which affects the whole spreadsheet. Is
there any way I can get it to return a zero instead????

Desperately in need of help!!


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,358
Default VLOOKUP Issue???

2 ways....

One is the IFERROR function,

=IFERROR(VLOOKUP(,,,),0,VLOOKUP(,,,))

or you can do a COUNTIF function

=IF(OUNTIF(Data!$A$2:$A$100,A2)=0,0,VLOOKUP(,,,))

Where Data!$A$2:$A$100 is your lookup column of your data set
--
John C


"Desperate" wrote:

Hello,

I am trying to perform a vlookup using the correct formula, and applying it
to a large range of cells in a row. Now, when the vlookup finds the correct
match in the array it returns the correct value [yeah :)], but when there is
no matching value it returns #NA, which affects the whole spreadsheet. Is
there any way I can get it to return a zero instead????

Desperately in need of help!!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default VLOOKUP Issue???

Man oh Man you guys are the shiznit, wish I could buy you beers

"Desperate" wrote:

Hello,

I am trying to perform a vlookup using the correct formula, and applying it
to a large range of cells in a row. Now, when the vlookup finds the correct
match in the array it returns the correct value [yeah :)], but when there is
no matching value it returns #NA, which affects the whole spreadsheet. Is
there any way I can get it to return a zero instead????

Desperately in need of help!!

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default VLOOKUP Issue???

Well, I presume that's a compliment !! <bg

Thanks for feeding back.

Pete

On Jul 31, 5:03*pm, Desperate
wrote:
Man oh Man you guys are the shiznit, wish I could buy you beers



"Desperate" wrote:
Hello,


I am trying to perform a vlookup using the correct formula, and applying it
to a large range of cells in a row. Now, when the vlookup finds the correct
match in the array it returns the correct value [yeah :)], but when there is
no matching value it returns #NA, which affects the whole spreadsheet. Is
there any way I can get it to return a zero instead????


Desperately in need of help!!- Hide quoted text -


- Show quoted text -


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 Issue Rocco2526 Excel Worksheet Functions 2 December 3rd 08 08:54 PM
am not sure if its a vlookup issue Anthony Excel Discussion (Misc queries) 1 December 4th 06 04:58 PM
VLookup Issue Shonte Excel Worksheet Functions 1 November 18th 05 09:26 PM
VLOOKUP issue Jonah Excel Worksheet Functions 1 November 16th 05 10:54 PM
VLOOKUP issue Jonah Excel Worksheet Functions 0 November 16th 05 10:31 PM


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