Formula Increments for a Range

BrandykinsGamer

New Member
Joined
Nov 12, 2017
Messages
9
I have a formula that I would like to increase both cell #s by 3 each time the formula is dragged to the next row.
Let me give an example in case my explanation is not clear enough.
This is what I want it to do -
Cell 1: =countif(Overland!D9:Y11, true)
Cell 2: =countif(Overland!D12:Y14, true)
Cell 3: =countif(Overland!D15:Y17, true)

But right now it does this -
Cell 1: =countif(Overland!D9:Y11, true)
Cell 2: =countif(Overland!D10:Y12, true)
Cell 3: =countif(Overland!D11:Y13, true)

Is there a way this can be accomplished?
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Try
Excel Formula:
=COUNTIF(OFFSET(Overland!$D$9,(ROWS(A$1:A1)-1)*3,0,3,COLUMNS(Overland!$D:$Y)),TRUE)
Where A$1:A1 refers to 'Cell 1' in your example.
 
Upvote 0
I'm not sure I understand where to start this, so let me repost my above info with the actual cell #s so that I can follow along ... LOL

Overview!M5: =countif(Overland!D9:Y11, true)
Overview!M6: =countif(Overland!D12:Y14, true)
Overview!M7: =countif(Overland!D15:Y17, true)
 
Upvote 0
In M5, then drag down, nothing needs to be changed.
Excel Formula:
=COUNTIF(OFFSET(Overland!$D$9,(ROWS(M$5:M5)-1)*3,0,3,COLUMNS(Overland!$D:$Y)),TRUE)
When you drag down it will change to M$5:M6. The rest of the formula remains unchanged, that is the part that does all of the work by identifying the top left corner of each range, D9:Y11,D12:Y14, etc. The rest sets a block of 3 rows by 22 columns starting from that point.
 
Upvote 0
Solution

Forum statistics

Threads
1,214,932
Messages
6,122,332
Members
449,077
Latest member
jmsotelo

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