简体   繁体   中英

why does my index match formula with an nested indirect reference return as a #REF... perrrrplexed

here is the formula:

INDEX(INDIRECT(M$8&"!BS:BS"),MATCH($B11,INDIRECT(M$8&"!B:B"),0))

the output for M$8 is week 1_mon

the formula within M$8 is "week 1_"&M10

the output for M10 = mon

I checked that the text for the name of sheet is the same as the output for M$8. The result was "TRUE".

I am perplexed!!

您需要在工作表名称周围加上引号,因为其中有一个空格,因此:

=INDEX(INDIRECT("'"&M$8&"'!BS:BS"),MATCH($B11,INDIRECT("'"&M$8&"'!B:B"),0))

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM