Help Needed: Pattern Formula.

mwfazal

New Member
Joined
Jun 10, 2015
Messages
3
Hey Everyone.
i definitely need some help. I am making an excel sheet and I have put in a formula =SUMIFS('23.03.15'!BH$4:BH$135,'23.03.15'!$C$4:$C$135,$C10,'23.03.15'!BG$4:BG$135,$D10)..

Now the thing is When I drag it horizontally BH$4:BH$135 changes to BI$4:BI$135. What I want it is that I want it to change to BM$4:BH$135 and so on leaving 5 columns in between.. and the same with the BG$4:BG$135? Can Someone help please?
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
SUMIFS by syntax require a one-dimensional array and All the arrays in the formula must be of similar size.
So I guess what you want will not be delivered by SUMIFS.

However, Excel has surprised me frequently. So i will wait for MVPs comment here.

When you drag horizontally, do you want to jump to every 5th column or do you want to include 5 columns?
 
Upvote 0
This sort of thing will produce an array from R4C60:R135C60 and will increment by 5 columns.

INDEX(4:135,,((COLUMNS($A$1:A1)-1)*5)+60)
 
Upvote 0
This sort of thing will produce an array from R4C60:R135C60 and will increment by 5 columns.

INDEX(4:135,,((COLUMNS($A$1:A1)-1)*5)+60)

I always had a problem understanding this formula. Can you explain this please? Moreover where exactly to put this formula
 
Upvote 0

Forum statistics

Threads
1,214,808
Messages
6,121,686
Members
449,048
Latest member
81jamesacct

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