match unique cutomer id and transaction with customer age

Covaism

New Member
Joined
Apr 7, 2016
Messages
36
I have 6500 customer with unique id's in one spreadsheet with the age of that customer. In another tab I have the same 6500 customers with unique and there 10000 transactions. I want to ad the ages to the transaction but I don't know how. I would like to to add column B from sheet 1 to column b in sheet 2 matching the customer id's in both Column A's. Please Help with the formula for Column B sheet 2.


sheet 1
Sheet 2
Column AColumn BColumn A
Column BColumn C
customer idcustomer agecustomer id transaction
Product A
Product B
Product C
Product B
Product B
Product B
Product A
Product C
Product C
Product C
Product A
Product A
Product A
Product B

<colgroup><col style="width:48pt" width="64" span="9"> </colgroup><tbody>
[TD="width: 64"][TABLE="class: grid, width: 570"]
<colgroup><col span="2"><col span="2"><col span="3"></colgroup><tbody>[TR]

[TD="align: right"]22691[/TD]
[TD="align: right"]24[/TD]

[TD="align: right"]22691[/TD]

[TD="align: right"]23498[/TD]
[TD="align: right"]46[/TD]

[TD="align: right"]22691[/TD]

[TD="align: right"]23915[/TD]
[TD="align: right"]48[/TD]

[TD="align: right"]22691[/TD]

[TD="align: right"]30453[/TD]
[TD="align: right"]32[/TD]

[TD="align: right"]22691[/TD]

[TD="align: right"]30645[/TD]
[TD="align: right"]50[/TD]

[TD="align: right"]23498[/TD]

[TD="align: right"]31304[/TD]
[TD="align: right"]46[/TD]

[TD="align: right"]23915[/TD]

[TD="align: right"]33998[/TD]
[TD="align: right"]22[/TD]

[TD="align: right"]30453[/TD]

[TD="align: right"]34063[/TD]
[TD="align: right"]70[/TD]

[TD="align: right"]23915[/TD]

[TD="align: right"]23915[/TD]

[TD="align: right"]33998[/TD]

[TD="align: right"]30645[/TD]

[TD="align: right"]31304[/TD]

[TD="align: right"]33998[/TD]

[TD="align: right"]34063[/TD]

</tbody>
[/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[/TR]
[TR]
[TD][TABLE="width: 570"]
<colgroup><col span="2"><col span="2"><col span="3"></colgroup><tbody>[TR]
[TD] [/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD="align: right"]

<colgroup><col style="mso-width-source:userset;mso-width-alt:3157; width:67pt" width="89" span="2"> <col style="width:48pt" width="64" span="2"> <col style="mso-width-source:userset;mso-width-alt:3128; width:66pt" width="88" span="3"> </colgroup><tbody>
[TD="class: xl67, width: 89"][/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="class: xl67, width: 88"][/TD]
[TD="class: xl67, width: 88"][/TD]
[TD="class: xl67, width: 88"][/TD]

[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]

[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]

[TD="class: xl67"][/TD]

[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]

[TD="class: xl68, align: right"][/TD]
[TD="class: xl68, align: right"][/TD]

[TD="class: xl68, align: right"][/TD]
[TD="class: xl68"][/TD]
[TD="class: xl67"][/TD]

[TD="class: xl68, align: right"][/TD]
[TD="class: xl68, align: right"][/TD]

[TD="class: xl68, align: right"][/TD]
[TD="class: xl68"][/TD]
[TD="class: xl67"][/TD]

[TD="class: xl68, align: right"][/TD]
[TD="class: xl68, align: right"][/TD]

[TD="class: xl68, align: right"][/TD]
[TD="class: xl68"][/TD]
[TD="class: xl67"][/TD]

[TD="class: xl68, align: right"][/TD]
[TD="class: xl68, align: right"][/TD]

[TD="class: xl68, align: right"][/TD]
[TD="class: xl68"][/TD]
[TD="class: xl67"][/TD]

[TD="class: xl68, align: right"][/TD]
[TD="class: xl68, align: right"][/TD]

[TD="class: xl68, align: right"][/TD]
[TD="class: xl68"][/TD]
[TD="class: xl67"][/TD]

[TD="class: xl68, align: right"][/TD]
[TD="class: xl68, align: right"][/TD]

[TD="class: xl68, align: right"][/TD]
[TD="class: xl68"][/TD]
[TD="class: xl67"][/TD]

[TD="class: xl68, align: right"][/TD]
[TD="class: xl68, align: right"][/TD]

[TD="class: xl68, align: right"][/TD]
[TD="class: xl68"][/TD]
[TD="class: xl67"][/TD]

[TD="class: xl68, align: right"][/TD]
[TD="class: xl68, align: right"][/TD]

[TD="class: xl68, align: right"][/TD]
[TD="class: xl68"][/TD]
[TD="class: xl67"][/TD]

[TD="class: xl68, align: right"][/TD]
[TD="class: xl68"][/TD]
[TD="class: xl67"][/TD]

[TD="class: xl68, align: right"][/TD]
[TD="class: xl68"][/TD]
[TD="class: xl67"][/TD]

[TD="class: xl68, align: right"][/TD]
[TD="class: xl68"][/TD]
[TD="class: xl67"][/TD]

[TD="class: xl68, align: right"][/TD]
[TD="class: xl68"][/TD]
[TD="class: xl67"][/TD]

[TD="class: xl68, align: right"][/TD]
[TD="class: xl68"][/TD]
[TD="class: xl67"][/TD]

[TD="class: xl68, align: right"][/TD]
[TD="class: xl68"][/TD]
[TD="class: xl67"][/TD]

</tbody>
[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR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
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Well, then thank you for the kind words, I am happy it worked out for you :)

Can you see where you may have made the mistake with the location of the formula?
 
Upvote 0

Forum statistics

Threads
1,223,276
Messages
6,171,139
Members
452,381
Latest member
Nova88

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