Filldown of formulas problem

TTom

Well-known Member
Joined
Jan 19, 2005
Messages
518
I have the following formula in a cell F10:
=DSUM(L_dBase,6,LEDGER!$G3:$G4)

If I use a normal 'filldown' technique to create the formulas below first, I would have following sequence:
formula in cell F10: =DSUM(L_dBase,6,LEDGER!$G3:$G4)
formula in cell F11: =DSUM(L_dBase,6,LEDGER!$G4:$G5)
formula in cell F12: =DSUM(L_dBase,6,LEDGER!$G5:$G6)
and so on...

I need the cells to sequence in each row, same column as follows:
formula in cell F10: =DSUM(L_dBase,6,LEDGER!$G3:$G4)
formula in cell F11: =DSUM(L_dBase,6,LEDGER!$G5:$G6)
formula in cell F12: =DSUM(L_dBase,6,LEDGER!$G7:$G8)
and so on...

Note how normal filldown technique increases the value of row G in the formula by a value of 1.
Here is my problem, I need the row value of G to increase by 2, not 1, as shown in 2nd sequence.

Any ideas or suggestions on how to do this? I've got hundreds of rows, so this could save me a lot of time. :wink:
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Thanks for the link.
After some study I noticed a suggestion about using SUMIF in place of DSUM for certain applications.
It turns out this works perfect for my needs and realized I could use SUMIF to resolve my delima! :cool:
It actually elimates the whole DSUM additional data (every other row stuff) a makes fill down easy and possible.

This made my day and I can relax this weekend!!
Many thanks for a good tip :biggrin:

FYI - My new formula filldown looks like this:
where My_Code and My_Amt are named rangeds on another sheet
formula for A10: =SUMIF(My_Code,A10,My_AMT)
formula for A11: =SUMIF(My_Code,A11,My_AMT)
formula for A12: =SUMIF(My_Code,A12,My_AMT)
and so on...
 
Upvote 0

Forum statistics

Threads
1,214,830
Messages
6,121,835
Members
449,051
Latest member
excelquestion515

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top