VLOOKUP looking in second column of table_array instead of first?

slam

Well-known Member
Joined
Sep 16, 2002
Messages
919
Office Version
  1. 365
  2. 2019
Is this possible?

I can't move my columns around, so need some way to look up the 2nd column of the table array for values that match instead of the 1st.

I've tried THREED from morefunc, but am not sure if this is really what I need. Can't get this to work anyway:

=VLOOKUP(1,THREED(Australia!$B$2:$D$17),3,FALSE)
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Hello slam,

Can't you just change the table so that the column you need is the first in the range?

Can you define exactly what you want to do - you want to lookup 1 in which column? and which column should the result come from
 
Upvote 0
Hello slam,

Can't you just change the table so that the column you need is the first in the range?

Can you define exactly what you want to do - you want to lookup 1 in which column? and which column should the result come from

I'm trying to find a 1 in column D (D2 to D17), and I'm trying to return the corresponding value in column B (B2 to B17).

I really can't change the columns unfortunately. I have so many other formulas dependent on this data, and more importantly, it just doesn't make sense to have it ordered that way.
 
Upvote 0
You can use INDEX and MATCH in combination for "left lookups" - try this formula

=INDEX(Australia!$B$2:$B$17,MATCH(1,Australia!$D$2:$D$17,0))
 
Upvote 0
You can use INDEX and MATCH in combination for "left lookups" - try this formula

=INDEX(Australia!$B$2:$B$17,MATCH(1,Australia!$D$2:$D$17,0))

Thanks, that worked great. How would I change that formula to find the highest value in the same column, and have it display nothing when the cells in column D are not populated. I assume I have to use an IF and MAX, but not sure how to piece it together....
 
Upvote 0

Forum statistics

Threads
1,224,520
Messages
6,179,270
Members
452,902
Latest member
Knuddeluff

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