![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Apr 2002
Location: Rhode Island
Posts: 128
|
I have a list of Departments and names on Sheet2.
On Sheet1, I want to be able to key the department and have the names pop up. Is there a way to do this? I tried "Match", but it will only return a number. |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Feb 2002
Posts: 7,743
|
LoriD
Try VLOOKUP http://www.mrexcel.com/board/viewtop...5192&forum=2&5 [ This Message was edited by: Brian from Maui on 2002-04-15 11:14 ] |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Feb 2002
Location: Southfield,MI USA
Posts: 1,030
|
Hiya,
Sounds like you could have had a Vlookup. |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Mar 2002
Posts: 363
|
Try using vlookup
=vlookup(DeptNo,Table,ColumnNumber)
__________________
It's never too late to learn something new. Ricky |
|
|
|
|
|
#5 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Monterrey, Mexico
Posts: 1,433
|
I think your problem is better suited for vlookup:
On Sheet1, enter in your department to match in Cell A1 and place the following formula in B1: =VLOOKUP(A1,Sheet2!A:B,2) On Sheet2, your data should be organized as department in column A and name in column B.
__________________
Kind regards, Al Chara |
|
|
|
|
|
#6 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Columbus, OH, USA
Posts: 3,519
|
How about VLookup?
Sorry, couldn't resist. |
|
|
|
|
|
#7 |
|
Board Regular
Join Date: Apr 2002
Location: Rhode Island
Posts: 128
|
Thanks all, but I think I'll try using VLookup.
|
|
|
|
|
|
#8 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Columbus, OH, USA
Posts: 3,519
|
Good idea. I wish someone had thought of that.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|