Formula to group multiple rows

piggle

New Member
Joined
Jun 11, 2002
Messages
4
Hi,

I am designing a report but have come accross an issue that I need help with.

I need a formula that will group multiple row amounts into one line, so that I can link this data to another spreadsheet. Below is an example of the data that I want to group:

COST CENTRE AMOUNT

  • abc123 200
    abc123 100
    abc123 150
    abc123 60

What formula can I use that will enable me to give me the abc123 cost centre with a total of 510? I need the result on the next column so that I can use a VLOOKUP in the other spreadsheet. The result should look something like this.

It would even be better if the results were on a seperate sheet so I can utilise the VLOOKUP function on the results, with no blank rows.

  • COST CENTRE AMOUNT CENTRE AMOUNT

    abc123 200
    abc123 100
    abc123 150
    abc123 60
    ABC123 510

It would be great if someone could help me.

Thanks,

Piggle.
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,025
Messages
5,835,010
Members
430,332
Latest member
Charly_Moon

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
Top