The easier way to solve the problem is to remove the blank rows below the data range (from row 12 to the last row of the sheet)
Removing `IFERROR` the cell with the formula shows the following error
Replacing A1:A
by A1:A11
If we replace A1:A11
by A2:A12
we get the following