merging duplicate information in a column

alanf

New Member
Joined
Mar 26, 2002
Messages
6
I have a spread sheet that has 12 worksheets (January-December). Each sheet has a column for a name and a column for the person's commission. Some names are in all 12 worksheets, some are in some of the worksheets and some are in only one worksheet.

I want to combine all of these worksheets into one list and combine the entries that are in multiple worksheets into one entry with their commission added together.

For example:

January
NAME COMMISSION
john smith $3000
tom brown $1000
jim jones $200

February
NAME COMMISSION
john smith $3500
jim jones $1000

March
NAME COMMISSION
jerry james $500
tom brown $5000

The above example would end up looking like:

NAME COMMISSION
john smith $6500
tom brown $6000
jim jones $1200
jerry james $500

Anyone got any idea of how to do this?

Thanks in advance,

Alan
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
I really would like to have someone explain how to do it if possible. The help is very unclear.
 
Upvote 0
On 2002-04-10 10:27, alanf wrote:
I really would like to have someone explain how to do it if possible. The help is very unclear.

It's really quite easy. Let's say that A1:B4 contains...

{"Fruit","Qty"
;"Apples",10
;"Oranges",20
;"Bananas",30}

...and A6:B9 contains...

{"Fruit","Qty"
;"Apples",5
;"Oranges",15
;"Bananas",25}

Select cell A11, choose the Data | Consolidate... menu command, add the references shown above, check both "Top row" and "Left column", and press [ OK ].

A11:B14 now contains...

{"Fruit","Qty"
;"Apples",15
;"Oranges",35
;"Bananas",55}
This message was edited by Mark W. on 2002-04-10 10:35
 
Upvote 0

Forum statistics

Threads
1,214,405
Messages
6,119,323
Members
448,887
Latest member
AirOliver

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