A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

#N/A



 
 
Thread Tools Display Modes
  #1  
Old May 3rd, 2007, 12:13 AM posted to microsoft.public.excel.worksheet.functions
mona
external usenet poster
 
Posts: 62
Default #N/A

I ahve this in my cell:

=INDEX('Feb Events'!$H$2:$H$350,MATCH($A5&"one",'Feb
Events'!$A$2:$A$350&'Feb Events'!$C$2:$C$350,0))

which results in #N/A because there is no match. I want to change the
result to 0 instead of #N/A.

Thanks!
  #2  
Old May 3rd, 2007, 12:40 AM posted to microsoft.public.excel.worksheet.functions
Max
external usenet poster
 
Posts: 8,574
Default #N/A

You could use a front error trap construct
to return the zero for unmatched cases viz.:
=IF(ISNA(MATCH(...)),0,INDEX(...,MATCH(...)))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Mona" wrote:
I ahve this in my cell:

=INDEX('Feb Events'!$H$2:$H$350,MATCH($A5&"one",'Feb
Events'!$A$2:$A$350&'Feb Events'!$C$2:$C$350,0))

which results in #N/A because there is no match. I want to change the
result to 0 instead of #N/A.

Thanks!

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:05 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.