VLOOKUP when table_array is a Table

kopp123

New Member
Joined
Apr 7, 2014
Messages
9
Is there an easy way to connect VLOOKUP from defined Table to another defined Table? Is there a better function to do this? I'm trying to get away from using relative cell/column locations.

When I do a VLOOKUP in a table and reference another table, I get something like the following:
=VLOOKUP([@[Favorite Fruit]],Fruit[[Fruit]:[Cost]],2,FALSE)

What I'd like to be able to do is identify the following in a function:

  • lookup_value: @[Favorite Fruit]
  • table_array: Fruit[#all]
  • lookup_column: Fruit[Fruit]
  • return_column: Fruit[Cost]

Is there a function that does something like that? Or is there a way to make VLOOKUP work that way?
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
How about
=INDEX(Fruit1[Cost],MATCH([@[Fravorite Fruit]],Fruit1[Fruit],0))
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,242
Members
452,623
Latest member
russelllowellpercy

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