Using range with INDIRECT and ROW()

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?
 
P

Paranormal Gravy

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.
 
T

T. Valko

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top