ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   #N/A (https://www.excelbanter.com/excel-worksheet-functions/141349-n.html)

Mona

#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!

Max

#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!



All times are GMT +1. The time now is 11:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com