OzGrid

How to use cell content as input to a structured reference as part of a lookup function

< Back to Search results

 Category: [Excel]  Demo Available 

How to use cell content as input to a structured reference as part of a lookup function

 

Using structured table references as part of a lookup function and referencing the contents of a cell (in this case, $C$1) to return the item description.

Structured Table1

ITEM NO. ITEM DESCRIPTION
PART #1 Red Ball
PART #2 Yellow Cow

=Lookup("Part #1",Table1[ITEM NO.],TABLE1[$C$1]) (This does not work)

Where the Content of $C$1 is ITEM DESCRIPTION

 

Solution:

Use all the table column like
=LOOKUP("PART #1",Table1[[#All],[ITEM NO.]],Table1[[#All],[ITEM DESCRIPTION]])

 

Obtained from the OzGrid Help Forum.

Solution provided by pike

 

See also: Index to Excel VBA Code and Index to Excel Freebies and Lesson 1 - Excel Fundamentals and Index to how to… providing a range of solutions and Index to new resources and reference sheets

 

See also:

How to use bottom up lookup
How to use VLOOKUP (example)
How to use advanced lookup: Multiple criteria when looking up values in a table
How to use the VLOOKUP formula
How to use IF and VLOOKUP formulas together

 

Click here to visit our Free 24/7 Excel/VBA Help Forum where there are thousands of posts you can get information from, or you can join the Forum and post your own questions.


Gallery



stars (0 Reviews)