Hi all,
I'm having trouble incrementing a function by columns instead of rows.
On one sheet I have my data in columns that I am referencing. On another I have my formula which is:
=SUM(Data!B5:B78)
I need to drag this formula down multiple rows, each time increasing the reference column by one, so that for the next few rows I get =SUM(Data!C5:C78), =SUM(Data!D5:D78)...etc.
When I drag it down, it increments by rows as it should. When I change the formula to:
=SUM(Data!B$5:B$78)
to lock the rows and try to drag down, the exact formula just copies to the rows below it.
Thanks for your help!
I am using Excel 2003.
You don't stipulate how far but in general...
Assume first formula is in A2:
=SUM(INDEX(Data!$5:$78,0,ROWS(A$1:A2)))
copied down
A2 will sum B5:B78, A3 C5:C78 and so on...
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
Thanks for the quick response! That worked perfectly!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks