# Filldown of formulas problem

#### TTom

##### Well-known Member
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

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
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!
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

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

Replies
6
Views
198
Replies
1
Views
231
Replies
3
Views
453
Replies
2
Views
110
Replies
5
Views
194

1,219,808
Messages
6,150,351
Members
450,952
Latest member
Zung

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

### Which adblocker are you using?

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

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