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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

lookup values

Status
Not open for further replies.

OCM

MIS
Sep 12, 2002
220
US
Hi,

Given the attached sample file, I would like to insert a column next to Status_ID, Department_ID, and User_ID, and name these columns as Status, Department, and User and populate descriptions from the (Status, Department, and User).

How can I accomplish this?

TIA

Regards,


OCM
 
 https://files.engineering.com/getfile.aspx?folder=42d1a99a-a29d-46b7-9f2b-52e7870ed515&file=Sample.zip
Hi,

Made your 3 lookup tables Structured Tables via Insert > Tables > Table, named Table1, Table2, & Table3 respectively.

The formula, the same for all three but for the table and lookup references...
E2: =INDEX(Table1[[Description ]],MATCH(--B2,Table1[Status_ID],0),1)

Note, the double negatives in the MATCH() function coerces your lookup TEXT values to become NUMBERS, comparable with the lookup ranges in your three lookup tables.

tt-samplez_kuw0ep.png


Your workbook uploaded below.

Skip,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
"The most incomprehensible thing about the universe is that it is comprehensible" A. Einstein

You Matter...
unless you multiply yourself by the speed of light squared, then...
You Energy!
 
 https://files.engineering.com/getfile.aspx?folder=0c2f4e10-a378-4215-b0c6-36399e32b929&file=tt-Samplez.xlsx
SkipVought,
Thanks a lot for your suggestion. I was able to apply your solution and it is working as intended.

Regards,

OCM
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top