Help! Incrementing part of formula by nth when dragging/copying

demelza

New Member
Joined
Jun 29, 2011
Messages
25
Hello. I have the following formula -

=SUMIF('Budget Resort'!$B:$B,"Labour",'Budget Resort'!AO:AO)

I need to drag this formula across multiple columns in a row, and I need the "'Budget Resort'!AO:AO" part to increment by 3 columns rather than 1 every time. So each cell across the sheet will show the formula like this -

=SUMIF('Budget Resort'!$B:$B,"Labour",'Budget Resort'!AO:AO)
=SUMIF('Budget Resort'!$B:$B,"Labour",'Budget Resort'!AR:AR)
=SUMIF('Budget Resort'!$B:$B,"Labour",'Budget Resort'!AU:AU) .. etc

In 'Budget Resort' sheet there are Column headers that are split into 3 columns for each month, so the headings are "NZD, USD, Hours, NZD, USD, Hours... etc" and there are hundreds of row's that have different items I can put in the 'criteria part of the formula. I can't use filtering because this is going to be a tool I give Project Manager for forecasting so I need the results sheet to just give me the total figures required without any filtering.

I need to copy this hundreds of times and for different criteria, so adjusting the formula manually for each cell isn't an option. I'd really appreciate help on this! Thanks :)
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Hi

Welcome to the forum.

Try -
Code:
=SUMIF('Budget Resort'!$B:$B,"Labour",Offset('Budget Resort'!$AO:$AO,,(COLUMNS($AD:AD)-1)*3))

adjust $AD:AD to point to the cell where you enter the formula.

hth
 
Upvote 0
Hi

Pleased to have helped solve your problem.

Thanks for the feedback.

Good luck with your project.
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,875
Members
452,949
Latest member
Dupuhini

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