#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default IF?

Hello,

I have the following:

=10 + INDEX(B$47:K$52;MATCH($E3;B$47:B$52;0);3)

I get #N/A when there is not match.

How can I change it to have 10?

Thanks,
Miguel
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default IF?

try

=10 +
if(ISNA(INDEX(B$47:K$52;MATCH($E3;B$47:B$52;0);3)) ,0,INDEX(B$47:K$52;MATCH($E3;B$47:B$52;0);3))


"shapper" wrote in message
...
Hello,

I have the following:

=10 + INDEX(B$47:K$52;MATCH($E3;B$47:B$52;0);3)

I get #N/A when there is not match.

How can I change it to have 10?

Thanks,
Miguel



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default IF?

On Nov 4, 9:09*pm, "BobS" wrote:
try

=10 +
if(ISNA(INDEX(B$47:K$52;MATCH($E3;B$47:B$52;0);3)) ,0,INDEX(B$47:K$52;MATCH($E3;B$47:B$52;0);3))

"shapper" wrote in message

...

Hello,


I have the following:


=10 + INDEX(B$47:K$52;MATCH($E3;B$47:B$52;0);3)


I get #N/A when there is not match.


How can I change it to have 10?


Thanks,
Miguel




Thank You,
Miguel
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 320
Default IF?

In Excel 2007:
=10 + IFERROR(INDEX(B$47:K$52;MATCH($E3;B$47:B$52;0);3), 0)

"shapper" wrote in message
...
Hello,

I have the following:

=10 + INDEX(B$47:K$52;MATCH($E3;B$47:B$52;0);3)

I get #N/A when there is not match.

How can I change it to have 10?

Thanks,
Miguel


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 07:17 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"