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

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
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,224,821
Messages
6,181,163
Members
453,021
Latest member
Justyna P

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