Matching two columns of data

EvansB2

Board Regular
Joined
Nov 25, 2008
Messages
245
Office Version
  1. 365
Platform
  1. Windows
Hi there,

I would like to return a value in cell E3 below that equates to the value in cell B3 only when the 'Room' reference in Table 1 cell A3 matches same in Table 2 (cell D3). The first Table, which is Table 1, is the master table and runs for some 500 rows and has all the room numbers and Table 2 is some 75 rows. I think this is the problem I'm having as I don't know if the tables need to be an exact match? I would appreciate any assistance you can offer. I have tried using Html to present the relevant columns, however I have had trouble with it due to company security issues.

Regards

Ben


[TABLE="width: 300"]
<colgroup><col width="29" style="width: 22pt; mso-width-source: userset; mso-width-alt: 1060;"> <col width="82" style="width: 62pt; mso-width-source: userset; mso-width-alt: 2998;"> <col width="84" style="width: 63pt; mso-width-source: userset; mso-width-alt: 3072;"> <col width="48" style="width: 36pt; mso-width-source: userset; mso-width-alt: 1755;"> <col width="74" style="width: 56pt; mso-width-source: userset; mso-width-alt: 2706;"> <col width="81" style="width: 61pt; mso-width-source: userset; mso-width-alt: 2962;"> <tbody>[TR]
[TD="class: xl77, width: 29, bgcolor: #D9D9D9"] [/TD]
[TD="class: xl78, width: 82, bgcolor: #D9D9D9"]A[/TD]
[TD="class: xl78, width: 84, bgcolor: #D9D9D9"]B[/TD]
[TD="class: xl78, width: 48, bgcolor: #D9D9D9"]C[/TD]
[TD="class: xl78, width: 74, bgcolor: #D9D9D9"]D[/TD]
[TD="class: xl78, width: 81, bgcolor: #D9D9D9"]E[/TD]
[/TR]
[TR]
[TD="class: xl79, bgcolor: #D9D9D9"]1[/TD]
[TD="class: xl76, bgcolor: transparent"]TABLE 1[/TD]
[TD="class: xl70, bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl76, bgcolor: transparent"]TABLE 2[/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl79, bgcolor: #D9D9D9"]2[/TD]
[TD="class: xl71, width: 82, bgcolor: black"]Room Number
(Contractor Ref)
[/TD]
[TD="class: xl72, width: 84, bgcolor: black"]Area as Accomodation Schedule rev B
m2
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl73, width: 74, bgcolor: #92D050"]Room[/TD]
[TD="class: xl73, width: 81, bgcolor: #92D050"]Room Area[/TD]
[/TR]
[TR]
[TD="class: xl79, bgcolor: #D9D9D9"]3[/TD]
[TD="class: xl66, bgcolor: transparent"]L-CS-1001[/TD]
[TD="class: xl67, bgcolor: transparent"]23[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl65, width: 74, bgcolor: transparent"]L-CS-1001[/TD]
[TD="class: xl74, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl79, bgcolor: #D9D9D9"]4[/TD]
[TD="class: xl68, bgcolor: transparent"]L-HQ-0067[/TD]
[TD="class: xl69, bgcolor: transparent"]18[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl65, width: 74, bgcolor: transparent"]L-CS-1002[/TD]
[TD="class: xl75, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl79, bgcolor: #D9D9D9"]5[/TD]
[TD="class: xl68, bgcolor: transparent"]L-HQ-0084[/TD]
[TD="class: xl69, bgcolor: transparent"]16[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl65, width: 74, bgcolor: transparent"]L-CS-1003[/TD]
[TD="class: xl75, bgcolor: transparent"] [/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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