Aggregating data

Welsh Mark

Board Regular
Joined
Aug 7, 2009
Messages
84
Hi,

I have a list of unpaid invoices and companies names. Some companies have mutiple invoices outstanging rather than show each invoice I want to show a single total for each company.

Currenltly I have

Column A Column B

Company A £100
Company A £150
Company B £200
Company C £100
Company C £100
Company C £100

I would prefer

Column A Column B

Company A £150
Company B £100
Company C £300
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
I don't quite see the logic behind this, why does A get a value of 150, and B get a value of 100?
 
Upvote 0
Try using a Pivot Table. They are fantastic for summarizing data such as this. Be sure to put Column A as a "Row Field", and use Column B as a "Data Field".
 
Upvote 0
Excel Workbook
ABCDE
1Company A100Company A550
2Company A100Company B100
3Company A150Company C800
4Company A200
5Company B50
6Company B50
7Company C150
8Company C200
9Company C250
10Company C200
Sheet2
Excel 2007
Cell Formulas
RangeFormula
E1=SUMIF($A$1:$A$10,D1,$B$1:$B$10)
E2=SUMIF($A$1:$A$10,D2,$B$1:$B$10)
E3=SUMIF($A$1:$A$10,D3,$B$1:$B$10)
 
Upvote 0

Forum statistics

Threads
1,224,544
Messages
6,179,430
Members
452,915
Latest member
hannnahheileen

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