Sum with change address

sysuserwindows

New Member
Joined
Jan 16, 2022
Messages
16
Office Version
  1. 2019
Platform
  1. Windows
  2. Mobile
  3. Web
Hi,

I need a sum qty by column Code and Ref, the formula write in column E but is not correct


calculate sum.xlsx
ABCDE
1CodeproductqtyRef
21000Product A5000200201 
31000Product A5100200201 
41000Product A5200200201 
51000Product A5300200201 
61000Product A5400200201 
71000Product A550020020131500
82000Product B5600200201 
92000Product B5700200201 
102000Product B5800200201 
112000Product B5900200201 
122000Product B600020020129000
133000Product C6100200201 
143000Product C6200200201 
153000Product C6300200201 
163000Product C640020020125000
171000Product A6500200202 
181000Product A6600200202 
191000Product A6700200202 
201000Product A6800200202 
211000Product A6900200202 
221000Product A700020020272000
232000Product B7100200202 
242000Product B7200200202 
252000Product B7300200202 
262000Product B7400200202 
272000Product B750020020265500
283000Product C7600200202 
293000Product C7700200202 
303000Product C7800200202 
313000Product C790020020256000
321000Product A8000200203 
331000Product A8100200203 
341000Product A8200200203 
351000Product A8300200203 
361000Product A8400200203 
371000Product A8500200203121500
382000Product B8600200203 
392000Product B8700200203 
402000Product B8800200203 
412000Product B8900200203 
422000Product B9000200203109500
433000Product C9100200203 
443000Product C9200200203 
453000Product C9300200203 
463000Product C940020020393000
Sheet1
Cell Formulas
RangeFormula
E2:E46E2=IF(A2=A3,"",SUMIF($A$2:$A2,A2,$C$2:$C2))
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Forum statistics

Threads
1,224,823
Messages
6,181,178
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