Shortening an index formula

APowell

New Member
Joined
Jul 15, 2014
Messages
2
Hi,

The formula below is a lookup using multiple values. It works well however I feel as if it could be neater. I am also bordering on the nesting limits if I would like to add any additional formulae. Could you please help me shorten it?

=IF(ISNA(INDEX('MRV'!A:O,MATCH(1,(F2='MRV'!G:G)*(C2='MRV'!A:A)*(E2='MRV'!N:N),0),11)),
IF(ISNA(INDEX('MRV'!A:O,MATCH(1,(F2='MRV'!I:I)*(C2='MRV'!A:A)*(E2='MRV'!N:N),0),11)),
IF(ISNA(INDEX('MRV'!A:O,MATCH(1,(G2='MRV'!G:G)*(C2='MRV'!A:A)*(E2='MRV'!N:N),0),11)),
IF(ISNA(INDEX('MRV'!A:O,MATCH(1,(G2='MRV'!I:I)*(C2='MRV'!A:A)*(E2='MRV'!N:N),0),11)),
"Unable to match",
INDEX('MRV'!A:O,MATCH(1,(G2='MRV'!I:I)*(C2='MRV'!A:A)*(E2='MRV'!N:N),0),11)),
INDEX('MRV'!A:O,MATCH(1,(G2='MRV'!G:G)*(C2='MRV'!A:A)*(E2='MRV'!N:N),0),11)),
INDEX('MRV'!A:O,MATCH(1,(F2='MRV'!I:I)*(C2='MRV'!A:A)*(E2='MRV'!N:N),0),11)),
INDEX('MRV'!A:O,MATCH(1,(F2='MRV'!G:G)*(C2='MRV'!A:A)*(E2='MRV'!N:N),0),11))

Kind regards,

A
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Hi

Welcome on-board.

You can use the IFNA function if you have one of the more recent versions of Excel. It replaces IF(ISNA(...
 
Upvote 0
Thanks Wigi. Sadly I can't use that function in Excel 2010, however I have found a way around the prblem o the nesting limits by using separate cells.

Regards,

A
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,399
Latest member
alchavar

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