Actually, we have been misleading you a bit with
OFFSET($A$1,,,COUNTA($A:$A)-1,1),5)
because if we subtract 1 fro the header row, the header row is likely row 1, so we should either start explicitly at A2
OFFSET($A$2,,,COUNTA($A:$A)-1,1),5)
or implicitly by offsetting the cell reference...