Formula: copy to clipboard
=SUM(INDEX(2:2,$B2):INDEX(2:2,$B2+$C2-1)


B2 contains the start cell/column; C2 contains the number of cells/columns.


Regards, TMS