INDEX MODE MATCH and INDIRECT

ThomG

New Member
I am trying to correct the below formula as I would like to use INDEX MODE MATCH with INDIRECT in a array.
The below works, but if I enter a new line at the top of my data set (EIRF Tracker Row 9-2150) the MODE and MATCH arguments change to read from row 10-2151 still.
{=INDEX(INDIRECT("'EIRF Tracker '!\$N\$9:\$N\$2153"),MODE(IF('EIRF Tracker '!\$B\$9:\$B\$2151="2018-19",IF('EIRF Tracker '!\$C\$9:\$C\$2151=C54,IF('EIRF Tracker '!\$N\$9:\$N\$2151<>"",MATCH('EIRF Tracker '!\$N\$9:\$N\$2151,'EIRF Tracker '!\$N\$9:\$N\$2151,0))))))}

So I attempted this but it is not a valid argument and I am unsure as to why.
{=INDEX(INDIRECT("'EIRF Tracker '!\$N\$9:\$N\$2153"),MODE(IF(indirect("'EIRF Tracker '!\$B\$9:\$B\$2151"),"2018-19",IF(Indirect("'EIRF Tracker '!\$C\$9:\$C\$2151"),C54,IF(indirect("'EIRF Tracker '!\$N\$9:\$N\$2151<>"",MATCH('EIRF Tracker '!\$N\$9:\$N\$2151),Indirect("'EIRF Tracker '!\$N\$9:\$N\$2151"),0))))))}

thank you!

Excel Facts

Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Replies
2
Views
183
Replies
2
Views
73
Replies
3
Views
115
Replies
5
Views
188
Replies
5
Views
308

1,206,762
Messages
6,074,795
Members
446,089
Latest member
Andrew123456789

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.

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

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