Incrementing Formula by Column Instead of by Row

A

Andy

In one worksheet I have the formula: =SUM(Data!B5:B78) referencing data in a
column on another worksheet. I want to drag the formula down to the next row
so that it will read: =SUM(Data!C5:C78), the row after
=SUM(Data!D5:D78)...etc.

Without dollar signs it increments by row as it should. When I add in dollar
signs like so:
=SUM(Data!B$5:B$78)
and I try to drag it down, it just copies that exact formula to the cell
below it like I typed: =SUM(Data!$B$5:$B$78) even though I didn't.

How do I get Excel to do what I want. I am using Excel 2003. I've searched
everywhere and I can't find an answer.
 
G

Glenn

Andy said:
In one worksheet I have the formula: =SUM(Data!B5:B78) referencing data in a
column on another worksheet. I want to drag the formula down to the next row
so that it will read: =SUM(Data!C5:C78), the row after
=SUM(Data!D5:D78)...etc.

Without dollar signs it increments by row as it should. When I add in dollar
signs like so:
=SUM(Data!B$5:B$78)
and I try to drag it down, it just copies that exact formula to the cell
below it like I typed: =SUM(Data!$B$5:$B$78) even though I didn't.

How do I get Excel to do what I want. I am using Excel 2003. I've searched
everywhere and I can't find an answer.


One way:

=SUM(INDIRECT("Data!R5C"&ROW(2:2)&":R78C"&ROW(2:2),FALSE))
 

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

Similar Threads


Top