sumifs increment column down

kyndig

New Member
Joined
Feb 12, 2009
Messages
13
Hi all

I've scrubbed the forums, and have tried multiple variations of index/match/offset and can't get this formula to work correctly.

I have a table that will be used to generate a chart, the columns of C,D,E.. list sum'ed up values from another sheet (further below). I'm trying to copy the formula down and increment the columns for the sum_range. To manually increment the columns down would be really tasking "weekly_table!G:G ..weekly_table!H:H...etc". Here is a snapshot of the table I'm trying to make for my chart:
Excel Workbook
ABCD
10WEEKNUMBERFROMPAX MovedVIP Missions
11128 Feb - 06 Mar543749
12207 Mar - 12 Mar14331961
13314 Mar - 18 Mar467617
Sheet


Here is the information from the weekly_table - it is a cross-tab query from access that is dropped into the weekly_table sheet. From column G on it is the 'week' value that I am trying to sum up above. (I'll be doing the same thing with a monthly_table)

Excel Workbook
BCDEFGHIJKLM
1intCatIdCategory_NameCompanySectionSUBSECTION1234567
235ADB ExpressAlphaMCTRC(S) Expansion/Ressuply/Pax Move603077443498
336CTU EastAlphaMCTRC(S) Expansion/Ressuply/Pax Move301040
437CTU WestAlphaMCTRC(S) Expansion/Ressuply/Pax Move675323
538CTZ NorthAlphaMCTRC(S) Expansion/Ressuply/Pax Move5486
642K ConnectAlphaMCTRC(S) Expansion/Ressuply/Pax Move100
743OtherAlphaMCTRC(S) Expansion/Ressuply/Pax Move36723342242
844Pallet/Cargo WeightsAlphaMCTRC(S) Expansion/Ressuply/Pax Move7491961617639285337913
945PAX WeightsAlphaMCTRC(S) Expansion/Ressuply/Pax Move71871411791688671712134
1047RIPAlphaMCTRC(S) Expansion/Ressuply/Pax Move3741114710153450
weekly_table


Thanks gurus.
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Lets just take this from C11:

=SUMIFS(weekly_table!G:G,weekly_table!$D:$D,"=Alpha",weekly_table!$E:$E,"=MCT",weekly_table!$F:$F,"=RC(S) Expansion/Ressuply/Pax Move",weekly_table!$C:$C,"<>*Weights*",weekly_table!C:C, "<>*VIP*")

How would this look like if you changed it manually when copied down or across?
 
Upvote 0
Lets just take this from C11:

=SUMIFS(weekly_table!G:G,weekly_table!$D:$D,"=Alpha",weekly_table!$E:$E,"=MCT",weekly_table!$F:$F,"=RC(S) Expansion/Ressuply/Pax Move",weekly_table!$C:$C,"<>*Weights*",weekly_table!C:C, "<>*VIP*")

How would this look like if you changed it manually when copied down or across?

Thanks Aladin, I may have overcomplicated the request. When copied down, it would look like:

=SUMIFS(weekly_table!H:H,weekly_table!$D:$D,"=Alpha",weekly_table!$E:$E,"=MCT",weekly_table!$F:$F,"=RC(S) Expansion/Ressuply/Pax Move",weekly_table!$C:$C,"<>*Weights*",weekly_table!C:C, "<>*VIP*")

=SUMIFS(weekly_table!I:I,weekly_table!$D:$D,"=Alpha",weekly_table!$E:$E,"=MCT",weekly_table!$F:$F,"=RC(S) Expansion/Ressuply/Pax Move",weekly_table!$C:$C,"<>*Weights*",weekly_table!C:C, "<>*VIP*")
 
Upvote 0
Thanks Aladin, I may have overcomplicated the request. When copied down, it would look like:

=SUMIFS(weekly_table!H:H,weekly_table!$D:$D,"=Alpha",weekly_table!$E:$E,"=MCT",weekly_table!$F:$F,"=RC(S) Expansion/Ressuply/Pax Move",weekly_table!$C:$C,"<>*Weights*",weekly_table!C:C, "<>*VIP*")

=SUMIFS(weekly_table!I:I,weekly_table!$D:$D,"=Alpha",weekly_table!$E:$E,"=MCT",weekly_table!$F:$F,"=RC(S) Expansion/Ressuply/Pax Move",weekly_table!$C:$C,"<>*Weights*",weekly_table!C:C, "<>*VIP*")

In C11 enter and copy down...

=SUMIFS(INDEX(weekly_table!G:Z,0,ROWS($C$11:C11)),
weekly_table!$D:$D,"=Alpha",weekly_table!$E:$E,"=MCT",weekly_table!$F:$F,"=RC(S) Expansion/Ressuply/Pax Move",weekly_table!$C:$C,"<>*Weights*",weekly_table!C:C, "<>*VIP*")

Note the correspondance between C11 and ROWS($C$11:C11).
 
Upvote 0
In C11 enter and copy down...

=SUMIFS(INDEX(weekly_table!G:Z,0,ROWS($C$11:C11)),
weekly_table!$D:$D,"=Alpha",weekly_table!$E:$E,"=MCT",weekly_table!$F:$F,"=RC(S) Expansion/Ressuply/Pax Move",weekly_table!$C:$C,"<>*Weights*",weekly_table!C:C, "<>*VIP*")

Note the correspondance between C11 and ROWS($C$11:C11).

Works like a charm Aladin. Thank you extremely. I did try using the ROWS() method with INDEX as the column value. I had the array referenced incorrectly though. Wow, I should have asked about 40 hours ago.

Much appreciated!
 
Upvote 0
Works like a charm Aladin. Thank you extremely. I did try using the ROWS() method with INDEX as the column value. I had the array referenced incorrectly though. Wow, I should have asked about 40 hours ago.

Much appreciated!

You are welcome. Thanks for providing feedback.
 
Upvote 0

Forum statistics

Threads
1,224,527
Messages
6,179,328
Members
452,907
Latest member
Roland Deschain

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