need help to Look up values and get the sum in another sheet.

cuchi33

New Member
Joined
Aug 5, 2017
Messages
22
Office Version
  1. 2010
Platform
  1. Windows
Dear Professionals
I have a data sheet of goods codes. I want to find and sum all specific goods code of a company and put it in another sheet. I tried many functions.But i didnt get the right result.
Please help, thank you.
Data Sheet of goods codes ( in sheet 1)
[TABLE="width: 385"]
<tbody>[TR]
[TD="align: left"][TABLE="width: 385"]
<tbody>[TR]
[TD="align: left"]Company Name[/TD]
[TD="align: left"]Goods Code[/TD]
[TD="align: left"] Value[/TD]
[/TR]
[TR]
[TD="align: left"]Name A[/TD]
[TD][/TD]
[TD] 99.107.985[/TD]
[/TR]
[TR]
[TD="align: left"]Name A[/TD]
[TD="align: left"]1001[/TD]
[TD] 58.477.131[/TD]
[/TR]
[TR]
[TD="align: left"]Name A[/TD]
[TD="align: left"]1001[/TD]
[TD] 58.477.131[/TD]
[/TR]
[TR]
[TD="align: left"]Name A[/TD]
[TD="align: left"]1001[/TD]
[TD] (58.477.131)[/TD]
[/TR]
[TR]
[TD="align: left"]Name A[/TD]
[TD="align: left"]1701[/TD]
[TD] 13.568.312[/TD]
[/TR]
[TR]
[TD="align: left"]Name A[/TD]
[TD="align: left"]1701[/TD]
[TD] 19.867.089[/TD]
[/TR]
[TR]
[TD="align: left"]Name A[/TD]
[TD="align: left"]1701[/TD]
[TD] 6.195.453[/TD]
[/TR]
[TR]
[TD="align: left"]Name A[/TD]
[TD="align: left"]1701[/TD]
[TD] 19.867.089[/TD]
[/TR]
[TR]
[TD="align: left"]Name A[/TD]
[TD="align: left"]1701[/TD]
[TD] (19.867.089)[/TD]
[/TR]
[TR]
[TD="align: left"]Name A[/TD]
[TD="align: left"]1804[/TD]
[TD] 1.000.000[/TD]
[/TR]
[TR]
[TD="align: left"]Name A[/TD]
[TD="align: left"]1804[/TD]
[TD] 1.000.000[/TD]
[/TR]
[TR]
[TD="align: left"]Name A[/TD]
[TD="align: left"]1804[/TD]
[TD] (1.000.000)[/TD]
[/TR]
[TR]
[TD="align: left"]Name A[/TD]
[TD="align: left"]1849[/TD]
[TD] 1.000.000[/TD]
[/TR]
[TR]
[TD="align: left"]Name A[/TD]
[TD="align: left"]1849[/TD]
[TD] (1.000.000)[/TD]
[/TR]
[TR]
[TD="align: left"]Name B[/TD]
[TD][/TD]
[TD] 2.913.437.062[/TD]
[/TR]
[TR]
[TD="align: left"]Name B[/TD]
[TD="align: left"]1552[/TD]
[TD] 213.649.800[/TD]
[/TR]
[TR]
[TD="align: left"]Name B[/TD]
[TD="align: left"]1552[/TD]
[TD] 120.000.474[/TD]
[/TR]
[TR]
[TD="align: left"]Name B[/TD]
[TD="align: left"]1552[/TD]
[TD] 179.999.526[/TD]
[/TR]
[TR]
[TD="align: left"]Name B[/TD]
[TD="align: left"]1552[/TD]
[TD] 142.434.137[/TD]
[/TR]
[TR]
[TD="align: left"]Name B[/TD]
[TD="align: left"]1701[/TD]
[TD] 250.000.000[/TD]
[/TR]
[TR]
[TD="align: left"]Name B[/TD]
[TD="align: left"]1701[/TD]
[TD] 250.000.000[/TD]
[/TR]
[TR]
[TD="align: left"]Name B[/TD]
[TD="align: left"]1701[/TD]
[TD] (240.000.000)[/TD]
[/TR]
[TR]
[TD="align: left"]Name B[/TD]
[TD="align: left"]1701[/TD]
[TD] (760.000.000)[/TD]
[/TR]
[TR]
[TD="align: left"]Name B[/TD]
[TD="align: left"]1701[/TD]
[TD] 750.000.000[/TD]
[/TR]
[TR]
[TD="align: left"]Name B[/TD]
[TD="align: left"]1701[/TD]
[TD] 760.000.000[/TD]
[/TR]
[TR]
[TD="align: left"]Name B[/TD]
[TD="align: left"]1701[/TD]
[TD] 240.000.000[/TD]
[/TR]
[TR]
[TD="align: left"]Name B[/TD]
[TD="align: left"]1701[/TD]
[TD] 750.000.000[/TD]
[/TR]
[TR]
[TD="align: left"]Name B[/TD]
[TD="align: left"]4911[/TD]
[TD] 191.576.762[/TD]
[/TR]
[TR]
[TD="align: left"]Name B[/TD]
[TD="align: left"]4911[/TD]
[TD] 65.776.363[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: left"][/TD]
[TD="align: left"][/TD]
[/TR]
</tbody>[/TABLE]


How to automatically find goods code 1552 of Name B and put the sum in the table below ( in Sheet 2)

[TABLE="width: 384"]
<tbody>[TR]
[TD] [TABLE="width: 384"]
<tbody>[TR]
[TD]Company Name[/TD]
[TD="colspan: 4"] Goods Code[/TD]
[/TR]
[TR]
[/TR]
[TR]
[TD]1001[/TD]
[TD]1701[/TD]
[TD]1552[/TD]
[TD]1804[/TD]
[/TR]
[TR]
[TD="align: left"]Name A[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: left"]Name B[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: left"]Name C[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]…………[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="colspan: 4"][/TD]
[/TR]
</tbody>[/TABLE]

I have an excel file but i cant upload to explain my problem clearly.
Thank you Professionals. looking forward to hearing from you.
Best regards
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Forum statistics

Threads
1,223,888
Messages
6,175,215
Members
452,618
Latest member
Tam84

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