Using range with INDIRECT and ROW()

  • Thread starter Thread starter Paranormal Gravy
  • Start date Start date
P

Paranormal Gravy

I am setting up a spreadsheet that with add columns in a row, but need
it to be applicable to various rows, I hacked this formula together so
far:
=SUM(INDIRECT("A"&ROW()), INDIRECT("B"&ROW()), INDIRECT("C"&ROW()),
INDIRECT("D"&ROW()), INDIRECT("E"&ROW()))
Anyone have a suggestion how to improve this formula?
 
This will do the same thing:

=SUM(INDEX(A:E,ROW(),))

That worked perfectly, thank you so much.
And all I want to do is create a formula that can be "copied and
pasted" into multiple cells in a column to add up the previous
columns, without having to change the formula for each row.
 
You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


This will do the same thing:

=SUM(INDEX(A:E,ROW(),))

That worked perfectly, thank you so much.
And all I want to do is create a formula that can be "copied and
pasted" into multiple cells in a column to add up the previous
columns, without having to change the formula for each row.
 
Back
Top