Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default "#N/A" Result From VLOOKUP Formula

I need a way to return a value of 0 when a formula results in a #N/A value.
Can this be done? My problem is where I have a VLOOKUP and the lookup value
does not exist.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default "#N/A" Result From VLOOKUP Formula

You could use the following IF:

IF(ISERROR(VLOOKUP(xx,xx,xx)),0,VLOOKUP(xx,xx,xx))


--
Kevin Backmann


"jose3106" wrote:

I need a way to return a value of 0 when a formula results in a #N/A value.
Can this be done? My problem is where I have a VLOOKUP and the lookup value
does not exist.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default "#N/A" Result From VLOOKUP Formula

=if(isna([your vlookup]),0,[your vlookup])

Dave
--
Brevity is the soul of wit.


"jose3106" wrote:

I need a way to return a value of 0 when a formula results in a #N/A value.
Can this be done? My problem is where I have a VLOOKUP and the lookup value
does not exist.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default "#N/A" Result From VLOOKUP Formula

=IF(ISNA(VLOOKUP Formula)),0,VLOOKUP Formula))

With actual formula..............

=IF(ISNA(VLOOKUP(A1,$B$1:$C$32,2,FALSE)),"",VLOOKU P(A1,$B$1:$C$32,2,FALSE))


Gord Dibben MS Excel MVP


On Tue, 5 Sep 2006 10:43:02 -0700, jose3106
wrote:

I need a way to return a value of 0 when a formula results in a #N/A value.
Can this be done? My problem is where I have a VLOOKUP and the lookup value
does not exist.


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 FORMULA IS DISPLAYED AS THE RESULT tony Excel Discussion (Misc queries) 1 August 1st 06 05:39 AM
how to use spellnumber formula Aarif Excel Worksheet Functions 3 February 27th 06 04:36 PM
VLOOKUP result is not showing up - only the formula Linda Excel Worksheet Functions 10 December 21st 05 06:37 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
VLOOKUP formula appears in the cell I need to see the result in Shaynes Excel Discussion (Misc queries) 3 May 11th 05 11:24 PM


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