LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 427
Default how to put 0 instead of #n/a

On Sun, 28 Jan 2007 17:12:00 -0000, Vas
wrote:

Hi

i am puting this formula but still it showing error.

=IF(ISNA(

LOOKUP(2,1/((B2='Data-hokair'!$A$1:$A$1000)*(Data!$O$1='Data-hokair'!$C$1:$C$1000)),'Data-hokair'!$D$1:$D$1000)

Is this right, lookup syntax is
"LOOKUP(lookup_value,lookup_vector,result_vect or)

Lookup_value is a value that LOOKUP searches for in the first vector.
Lookup_value can be a number, text, a logical value, or a name or
reference that refers to a value.

Lookup_vector is a range that contains only one row or one column. The
values in lookup_vector can be text, numbers, or logical values."

so you are looking up 2 in 1/(.....) - looks wrong to me

Steve


,0,LOOKUP(2,1/((B2='Data-hokair'!$A$1:$A$1000)*(Data!$O$1='Data-hokair'!$C$1:$C$1000)),'Data-hokair'!$D$1:$D$1000))

"SteveW" wrote:

isna() function

something like this

=if(isna(lookup....),0,lookup....)
Steve


On Sun, 28 Jan 2007 13:44:00 -0000, Vas
wrote:

I am putting Lookup function.suppose if value is not there in table
array.
it is giving #N/A. I want 0 instead of #N/A. How ? Pleae help me.

Regd.

Vas




 
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 08:58 AM.

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"