finding and sum duplicate values

azii

Board Regular
Joined
May 26, 2011
Messages
80
I have the data and want to sum duplicate values in the cells . table data is given below as table 1.
(e.g. AN total is appearing more than one time so I want to sum of qty of "AN total" in table 2 in front of AN total.
Please help me resolve this issue.

table 1
Sale PointTrans Qty % age
AM Total180.004.4%
AN Total60.001.5%
FM Total65.001.6%
IC Total60.001.5%
MB Total590.0014.5%
ME Total130.003.2%
MG Total610.0015.0%
PC Total430.0010.6%
RE Total365.009.0%
SB Total170.004.2%
SG Total520.0012.8%
SHI Total250.006.1%
TA Total195.004.8%
WB Total350.008.6%
WWC Total100.002.5%
GAGOO MANDI Total4075.00
AN Total70.0010.0%
GE Total70.0010.0%
ME Total140.0020.0%
RE Total140.0020.0%
SG Total70.0010.0%
TA Total70.0010.0%
WWC Total140.0020.0%
BUREWALA Total700.00
AM Total120.005.4%
AN Total100.004.5%
FM Total240.0010.9%
IC Total50.002.3%
ME Total190.008.6%
MG Total320.0014.5%
PC Total60.002.7%
RE Total170.007.7%
SB Total5.000.2%
SG Total235.0010.7%
SHI Total135.006.1%
TA Total210.009.5%
WB Total230.0010.4%
WWC Total140.006.3%
KHANEWAL Total2205.00

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


Table 2

TransQty%age
AM Total
AN Total
FM Total
IC Total
ME Total
MG Total
PC Total
RE Total
SB Total
SG Total
SHI Total
TA Total
WB Total
WWC Total

<colgroup><col><col><col></colgroup><tbody>
</tbody>

<colgroup><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
is this what you need?


Excel 2010
ABCD
1table 1
2Sale PointTransQty% age
3AM Total1804.4%
4AN Total601.5%
5FM Total651.6%
6IC Total601.5%
7MB Total59014.5%
8ME Total1303.2%
9MG Total61015.0%
10PC Total43010.6%
11RE Total3659.0%
12SB Total1704.2%
13SG Total52012.8%
14SHI Total2506.1%
15TA Total1954.8%
16WB Total3508.6%
17WWC Total1002.5%
18GAGOO MANDI Total4075
19AN Total7010.0%
20GE Total7010.0%
21ME Total14020.0%
22RE Total14020.0%
23SG Total7010.0%
24TA Total7010.0%
25WWC Total14020.0%
26BUREWALA Total700
27AM Total1205.4%
28AN Total1004.5%
29FM Total24010.9%
30IC Total502.3%
31ME Total1908.6%
32MG Total32014.5%
33PC Total602.7%
34RE Total1707.7%
35SB Total50.2%
36SG Total23510.7%
37SHI Total1356.1%
38TA Total2109.5%
39WB Total23010.4%
40WWC Total1406.3%
41KHANEWAL Total2205
Sheet2



Excel 2010
GHI
1Table 2
2
3TransQty%age
4AM Total29.8%
5AN Total316.0%
6FM Total212.5%
7IC Total23.8%
8ME Total331.8%
9MG Total229.5%
10PC Total213.3%
11RE Total336.7%
12SB Total24.4%
13SG Total333.5%
14SHI Total212.2%
15TA Total324.3%
16WB Total219.0%
17WWC Total328.8%
Sheet2
Cell Formulas
RangeFormula
H4=COUNTIF($B$3:$B$40,G4)
I4=SUMIF($B$3:$B$40,G4,$D$3:$D$40)
 
Upvote 0
thanks texasalynn
I was a complete solution. great work.

Proud to have such an reply from you.

thanks again.
 
Upvote 0

Forum statistics

Threads
1,215,746
Messages
6,126,650
Members
449,326
Latest member
asp123

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