Auto populate Cells from lookup Worksheet

Andrew5150

New Member
Joined
Oct 18, 2017
Messages
4
Sorry if this has been asked before

I've a worksheet (Sheet 2)which contains the following information, but some 900 lines long. This Worksheet can change, which is why I looking for a formulated fix.
[TABLE="width: 500"]
[TR]
[TD]
[TABLE="class: grid, width: 500"]
[TR]
[TD]Code
[/TD]
[TD]Company
[/TD]
[TD]POC
[/TD]
[TD]Alt POC
[/TD]
[TD]Manager
[/TD]
[/TR]
[TR]
[TD]ABC123
[/TD]
[TD]Pinewood Studios
[/TD]
[TD]Fred Bloggs
[/TD]
[TD]John Smith
[/TD]
[TD]Simon Daily
[/TD]
[/TR]
[TR]
[TD]DEF456
[/TD]
[TD]Paramount Pictures
[/TD]
[TD]Bert York
[/TD]
[TD]M Streep
[/TD]
[TD]James Weekly
[/TD]
[/TR]
[TR]
[TD]GHI789
[/TD]
[TD]Sony Pictures
[/TD]
[TD]Susie Que
[/TD]
[TD]H Spielberg
[/TD]
[TD]Jane Doe
[/TD]
[/TR]
[/TABLE]
[/TD]
[/TR]
[/TABLE]

On the main worksheet there are far more columns, which I would like to Just input the code from the worksheet 'Sheet 2' above and
in the Code column and have all the other respective columns auto populate. The issue is that the Column configuration is not the same.

[TABLE="class: grid, width: 900"]
[TR]
[TD]Date
[/TD]
[TD]Code
[/TD]
[TD]Company
[/TD]
[TD]Project Name
[/TD]
[TD]Manager
[/TD]
[TD]Location
[/TD]
[TD]POC
[/TD]
[TD]Budget
[/TD]
[TD]Genre
[/TD]
[TD]Alt POC
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]DEF456
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]GEF789
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]ABC123
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[/TABLE]
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Forum statistics

Threads
1,223,767
Messages
6,174,395
Members
452,561
Latest member
amir5104

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