Why this match/Index formula works in Excel 2007 but not in Excel 2002??

EvelynLu

New Member
Joined
Jan 11, 2016
Messages
46
Hi all experts out there,

May I know why my below formula work for Excel 2007 but not Excel 2002?

=IFERROR(INDEX(PartNum!A1:C45000,MATCH(1,(PartNum!B:B=SR_From!H10)*(PartNum!C:C=SR_From!H11),0),1),"")

As for Excel 2007, there is nothing display when nothing match. Whereas when open the Excel file in version 2002,
it appears "#Name" error. May I know how can I rectify this issues?

Thank you so much for all advise.
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Thank you so much easy2understandexcel.

But if I use this formula If(iserror()) and run it in 2007, can it work too?
 
Upvote 0
Yes, it is a more cumbersome formula because you have to write out the whole formula for both the true and the false scenarios... (iferror allows you to write the formula only once)
Let me know if you need help with the context of if(iserror())
 
Upvote 0
Oh... I see.

May I know how should I convert my this formula to using if(isError())?

=IFERROR(INDEX(PartNum!A1:C45000,MATCH(1,(PartNum!B:B=SR_From!H10)*(PartNum!C:C=SR_From!H11),0),1),"")

Thank you so much for your kind help.
 
Upvote 0
Try...

=IF(ISERROR(INDEX(PartNum!A1:C45000,MATCH(1,(PartNum!B:B=SR_From!H10)*(PartNum!C:C=SR_From!H11),0),1)),"",INDEX(PartNum!A1:C45000,MATCH(1,(PartNum!B:B=SR_From!H10)*(PartNum!C:C=SR_From!H11),0),1))
 
Upvote 0
Hi mark858,

I have try the coding and as usual it works in 2007 but not 2002... May I know why?
 
Upvote 0
I am afraid I can't at first glance see a reason why it wouldn't work in 2002, what is it returning?
 
Upvote 0
This should work...
=IF(isERROR(INDEX(PartNum!A1:C45000,MATCH(1,(PartNum!B:B=SR_From!H10)*(PartNum!C:C=SR_From!H11),0),1)),"",INDEX(PartNum!A1:C45000,MATCH(1,(PartNum!B:B=SR_From!H10)*(PartNum!C:C=SR_From!H11),0),1))
 
Upvote 0
Another Question, understand that Excel 2002 can't use xltm format... May I know can I save my xltm file to xlt file?

Will there be any impact to my Xltm file?

Thank you.
 
Upvote 0

Forum statistics

Threads
1,214,790
Messages
6,121,608
Members
449,038
Latest member
apwr

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top