lookup

bongobus

New Member
Joined
Jul 11, 2017
Messages
28
looking for some help and hopefully solution please folks

2 sheets

1st sheet data entry

2nd sheet display


1st sheet in column A some cells blank some contain a dropdown selection

selections are example OP or TA or OC up to about 10 selections

column b will have a name against this selection same row example

sheet 1

[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]TA
[/TD]
[TD]peter
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]OC
[/TD]
[TD]smith
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


I want 2nd sheet to look for an TA in sheet 1 grab the name and return this to a fixed area on sheet 2

again look for in sheet 1 a OP grab the name against this and return this to another fixed area sheet 2


[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]a
[/TD]
[TD]b
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]IC
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]OP
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]OA
[/TD]
[TD]Smith
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]TA
[/TD]
[TD]PETER
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
I don't understand why Smith is being applied to code "OA" on sheet 2 when it is associated with "OC" on sheet 1.
Can you explain the logic here?
 
Upvote 0

Forum statistics

Threads
1,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

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