Adding based on groups in excel

vab323

New Member
Joined
Apr 23, 2018
Messages
2
Hi guys I want to add the sales number if the id is equal

example: I want add 901 and 2994 if id is same in this case id is 40317

[TABLE="width: 501"]
<colgroup><col><col span="6"></colgroup><tbody>[TR]
[TD]539 8th Ave[/TD]
[TD="align: right"]40317[/TD]
[TD="align: right"]40317[/TD]
[TD]C[/TD]
[TD]N[/TD]
[TD]Y[/TD]
[TD="align: right"]901[/TD]
[/TR]
[TR]
[TD]539 8th Ave[/TD]
[TD="align: right"]40317[/TD]
[TD="align: right"]40317[/TD]
[TD]E[/TD]
[TD]N[/TD]
[TD]Y[/TD]
[TD="align: right"]2994.5[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Hi,

Does something like this help, you have 2 Columns with the ID in your Table, I used Column B:


Excel 2010
ABCDEFGHIJ
1539 8th Ave4031740317CNY901IDTOTAL
2539 8th Ave4031740317ENY2994.5403174117.5
340315350403151349
440317222
540315999
Sheet27
Cell Formulas
RangeFormula
J2=SUMIF(B$1:B$5,I2,G$1:G$5)


Formula copied down.
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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