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

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

Forum statistics

Threads
1,214,987
Messages
6,122,614
Members
449,091
Latest member
gaurav_7829

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