Populate cell based on value in other cell

sholmb1

New Member
Joined
Apr 8, 2002
Messages
5
I want to be able to populate cell B1 based on the value entered into cell A1. Cell A1 is a drop down list with values set up in a range on worksheet 2. Cell A1 is the associates name. I want cell B1 to be the associates manager.

On worksheet 2, in column A are all the associates names, in column B is the associates manager.

What I would like to happen is when I select a name (on worksheet 1) from the drop down list, the managers name would auto populate.

Thanks for any help.
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
It sounds like you might only need a VLOOKUP or INDEX MATCH formula in cell B1 of Sheet1.

VLOOKUP will probably do, but here's an INDEX MATCH suggestion, just because.

=INDEX(Sheet2!$A$1:Sheet2!$B$100,MATCH($A$1,Sheet2!$A$1:Sheet2!$A$100,0),2)

Modify for ranges and sheet names.

Is this what you are looking for, or is there something more to your situation?
 
Upvote 0
Here you go mate... this seems to do it:

This formula assumes:
sheet1!A1 is where you put the name you want looked up the matching manager for
Sheet1!B1 is where the formula goes
Sheet2!A:A is where the employees names go
Sheet2!B:B is where the managers names go

=VLOOKUP(A1,Sheet2!A:B,2,FALSE)
This message was edited by Nimrod on 2002-05-17 23:12
This message was edited by nimrod on 2002-05-17 23:30
 
Upvote 0

Forum statistics

Threads
1,214,639
Messages
6,120,679
Members
448,977
Latest member
dbonilla0331

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