Hi

I suppose you can use this formula
Formula: copy to clipboard
=IFERROR(SMALL(INDIRECT("'" & G2 &"'!$M$6:$M$13"),B6)," ")

to correct your try.