VLOOKUP QUESTIONS

Pauljj

Well-known Member
Joined
Mar 28, 2004
Messages
2,047
In cell D5 I need a list of different operators to appear.....the list appears on another page, for a start, how can I do VLOOKUP for this ? The second question maybe a bit harder, is, every operator has a 1 or 2 letter code, so say for example I from the cell D5 select ATI (The code for ATI is Z) if ATI is selected I want Z to appear in Cell E7...how can i do that please ?

Thanks
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Book2
ABCDE
1ATIZ
2FBIY
3UITX
4Validation for cell D5 use List, Source would be =a1:a3
5ATI
6
7Z
Sheet1
 
Upvote 0
Using Ken2Step's example. I suggest you name the cells (or the equivalent in your worksheet) A1:A3(say ValRange)
Now name cells A1:B3 (say myTable)

Now for A5, the validation source would be ValRange and the VLookup would be

=VLOOKUP(B5,myTable,2,0)

HTH

lenze
 
Upvote 0
My look up source is going to be on a different worksheet, will this make any difference ?
 
Upvote 0
Then you'll need to name the range as Lenze has said above. Then you can use that Named Range as your list as the source in your validation.
 
Upvote 0
Sorry, what I meant to say was that my table would be in a different workbook not a different worksheet
 
Upvote 0
You can still do the same thing as above, just add the workbook name to your range name such as:

=[WorkbookNameHere]SheetName!$A$1:$A$3
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,816
Members
449,049
Latest member
cybersurfer5000

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