A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Glad to hear that the updated formula works for you!
Regarding the "#N/A" error, hmmm could be because the INDEX and MATCH functions in the first part of the formula cannot find a match for "[List]" in the list of regions. Kindly try to wrap the formula in an IFERROR function, which returns a specified value (such as "[List]") if the formula results in an error.
=IFERROR(IF(ISNUMBER(SEARCH("[List]",J21)),INDEX(AN10:AN34,MATCH(J21,{"1","2","3","4","5","6a","6b","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23"},0)),INDEX(AN11:AN34,MATCH(TRUE,EXACT(J21&"",{"1","2","3","4","5","6a","6b","7","8","9","10","11","12", "13","14","15","16","17","18","19","20","21","22","23"}),0))), "[List]")
IFERROR basically checks if the formula results in an error, and if it does, it returns "[List]". If the formula does not result in an error, it returns the value from the formula.