View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
M Thompson M Thompson is offline
external usenet poster
 
Posts: 37
Default combine rows and sum data with the same id

Hi Tenny

I'd use Data Consolidation. If your data is arranged as you showed, then
just click in the cell where you want your data to start-I would place it on
another worksheet. Go to DataConsolidate and choose Sum in the "Function:"
box. Then click the minimize button in the "Reference:" area. Highlite the
account numbers and data in your spreadsheet, then click back into the
Consolidate box. Click the Add button. In the "Use labels in" box, click
Left column, then click OK. If done correctly, you should have 1 row for
each unique account # and the corresponding summed amounts on the new
worksheet.

Please let me know if it works...
--
OneFineDay


"tenny" wrote:

Hi,
Here is an example of the data I have.
Account ID Amount
101567 $505.00
101567 $875.00
101567 $2,450.50
253570 $1,178.90
253570 $875.00
346677 $1,928.33
I have thousands of accounts with multiple amounts having the same ID and I
need to add these amounts and combine them so that there is only one row per
account ID. Please help...