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

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.
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,215,646
Messages
6,126,000
Members
449,279
Latest member
Faraz5023

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