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

539 8th Ave4031740317CNY901
539 8th Ave4031740317ENY2994.5

<colgroup><col><col span="6"></colgroup><tbody>
</tbody>
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
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,214,622
Messages
6,120,585
Members
448,972
Latest member
Shantanu2024

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