sumif / loop

go14344

New Member
Joined
Jun 17, 2014
Messages
28
is there a way i can simplify this formula?.. because it will be too long if i have 50 cell to sumifs..

SUMIF(AdditivesCalc!$I:$I,$A3,AdditivesCalc!$K:$K)+
SUMIF(AdditivesCalc!$L:$L,$A3,AdditivesCalc!$N:$N)+
SUMIF(AdditivesCalc!$O:$O,$A3,AdditivesCalc!$Q:$Q)+
SUMIF(AdditivesCalc!$R:$R,$A3,AdditivesCalc!$T:$T)+
SUMIF(AdditivesCalc!$U:$U,$A3,AdditivesCalc!$W:$W)+
SUMIF(AdditivesCalc!$X:$X,$A3,AdditivesCalc!$Z:$Z)+
SUMIF(AdditivesCalc!$AA:$AA,$A3,AdditivesCalc!$AC:$AC)+
SUMIF(AdditivesCalc!$AD:$AD,$A3,AdditivesCalc!$AF:$AF)+
SUMIF(AdditivesCalc!$AG:$AG,$A3,AdditivesCalc!$AI:$AI)+
SUMIF(AdditivesCalc!$AJ:$AJ,$A3,AdditivesCalc!$AL:$AL)+
SUMIF(AdditivesCalc!$AM:$AM,$A3,AdditivesCalc!$AO:$AO)+.....

thank you
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
It depends on exactly might occur in the columns of interest and the intervening columns (J, M, P etc).
Does this do what you want?

=SUMIF(AdditivesCalc!$I:$AM,$A3,AdditivesCalc!$K:$AO)

If not could we have some (small) sample data from, say, columns I:Q of 'AdditivesCalc', including all the column headings? Link in my signature block below for posting sample data.
 
Upvote 0

Forum statistics

Threads
1,213,551
Messages
6,114,267
Members
448,558
Latest member
aivin

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