#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default #N/A error

I'm using the VLOOKUP formula. Because some numbers are not found, the cell
shows error #N/A. Using a formula, is there any way the cell can return 0
instead #N/A?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default #N/A error

=IF(ISERROR(VLOOKUP([your vlookup])),0,VLOOKUP([your vlookup]))

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"Almir Vargas" wrote:

I'm using the VLOOKUP formula. Because some numbers are not found, the cell
shows error #N/A. Using a formula, is there any way the cell can return 0
instead #N/A?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 492
Default #N/A error

Something like
=IF(ISNA(VLOOKUP(E3,A1:B100,2,FALSE)),0,VLOOKUP(E3 ,A1:B100,2,FALSE))
Regards,
Alan.
"Almir Vargas" wrote in message
...
I'm using the VLOOKUP formula. Because some numbers are not found, the
cell
shows error #N/A. Using a formula, is there any way the cell can return 0
instead #N/A?


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default #N/A error

thanks for making my day easier. have a nice weekend!

"Alan" wrote:

Something like
=IF(ISNA(VLOOKUP(E3,A1:B100,2,FALSE)),0,VLOOKUP(E3 ,A1:B100,2,FALSE))
Regards,
Alan.
"Almir Vargas" wrote in message
...
I'm using the VLOOKUP formula. Because some numbers are not found, the
cell
shows error #N/A. Using a formula, is there any way the cell can return 0
instead #N/A?



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default #N/A error

=IF(ISNA(VLOOKUP(H1,B1:F28,2,FALSE)),0,VLOOKUP(H1, B1:F28,2,FALSE))


Gord Dibben MS Excel MVP


On Fri, 2 Mar 2007 06:31:28 -0800, Almir Vargas
wrote:

I'm using the VLOOKUP formula. Because some numbers are not found, the cell
shows error #N/A. Using a formula, is there any way the cell can return 0
instead #N/A?


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
Error: "Excel encountered an error and had to remove some formatti Carl Excel Discussion (Misc queries) 0 September 18th 06 06:39 PM
Counting instances of found text (Excel error? Or user error?) S Davis Excel Worksheet Functions 5 September 12th 06 04:52 PM
I have Error 1919 Error Configuring ODBC dataSource Database Texanna1 Excel Discussion (Misc queries) 1 September 12th 06 06:35 AM
Excel 2003 Macro Error - Runtime error 1004 Cow Excel Discussion (Misc queries) 2 June 7th 05 01:40 PM


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