I would nearly always opt for INDEX over INDIRECT given the latters volatility

=SUM(A2:INDEX(A3:D3,A1))