Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBA (Excel) question 1

Status
Not open for further replies.

jimbackus

Technical User
Jul 2, 2002
10
GB
The company I work for uses a 3 character string to identify users. I want to convert the 3 character string to a full name. e.g. user identifier = xqj user full name = Tommy Atkins.

Assuming I populate one array with the identifiers and another with the full names is the only way to achieve the lookup to use a For loop?

Any suggestions for a more elegant solution welcome.
 


hi,

On a sheet...
[tt]
Code FullName
xqj Tommy Atkins
skv SkipVought
...
[/tt]
Using Named Ranges on the sheet...
[tt]
=INDEX(Code,MATCH('skv',FullName,0),1)
[/tt]
returns SkipVought

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top