Find uniques in a column, list them in a new column with their totals added up (Excel 2007)

riteon

New Member
Joined
Apr 30, 2010
Messages
24
Hello, I have a very long list like below;

Keys£ 24.50
Windows£ 4,320.00
Scaffolding£ 960.00
Rubbish Garden & House Clearance£ 204.00
Driveway£ 4,400.00
Rubbish Garden & House Clearance£ 145.00
Butter£ 2,990.00
Fencing£ 4,140.00
Rubbish Garden & House Clearance£ 2,000.00
Butter£ 510.00
Plumb£ 1,891.65
Windows£ 630.00
Plumb£ 630.00

In columns A & B

I would like to have all the uniques placed in column C, that lists them alphabetically and added up.

e.g.
Butter would be £3500
Plumb would be £2521.65
Rubbish Garden & House Clearance = £2349
Windows would be £4950

etc. etc. I am still using Excel 2007 if that makes any difference.

Thanks in advance
 
Last edited by a moderator:

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Book2
ABCD
1ListUnique Values
2Keys£24.50Butter£3,500.00
3Windows£4,320.00Driveway£4,400.00
4Scaffolding£960.00Fencing£4,140.00
5Rubbish Garden & House Clearance£204.00Keys£24.50
6Driveway£4,400.00Plumb£2,521.65
7Rubbish Garden & House Clearance£145.00Rubbish Garden & House Clearance£2,349.00
8Butter£2,990.00Scaffolding£960.00
9Fencing£4,140.00Windows£4,950.00
10Rubbish Garden & House Clearance£2,000.00  
11Butter£510.00  
12Plumb£1,891.65  
13Windows£630.00  
14Plumb£630.00  
Sheet1
Cell Formulas
RangeFormula
C2:C14C2=IFERROR(INDEX($A$2:$A$14, MATCH(SMALL(IF(COUNTIF($C$1:C1, $A$2:$A$14)=0, COUNTIF($A$2:$A$14, "<"&$A$2:$A$14), ""), 1), COUNTIF($A$2:$A$14, "<"&$A$2:$A$14), 0)),"")
D2:D14D2=IF(C2<>"",SUMIF($A$2:$A$14,$C2,$B$2:$B$14),"")
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Solution

Forum statistics

Threads
1,214,926
Messages
6,122,305
Members
449,079
Latest member
juggernaut24

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