Equivalent vlookup - right to left

Swaroon

Active Member
Joined
Nov 18, 2005
Messages
288
Office Version
  1. 365
I've found that VLookups only work looking left to right, is there any other funtion that would work in a simialr manner but pulling data from right to left, eg. using a -1 / -2 / -3 etc to chose columns to the left as opposed to 1 / 2 / 3 to chose columns to the right ?
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Swaroon

Whilst INDEX/MATCH do a great job for this situation, you might want to keep LOOKUP in mind as well. Example: Formula in F2 is:
=LOOKUP(E2,$C$2:$C$10,$A$2:$A$10)
Note, though, that this formula only works if the 'lookup vector' (column C range in this case) is arranged in ascending order.
Mr Excel.xls
ABCDEF
1AgeGenderNameNameAge
232FemaleAnnSue68
325MaleBill
415FemaleJan
568FemaleSue
614MaleTom
Sheet1
 
Upvote 0

Forum statistics

Threads
1,213,497
Messages
6,113,999
Members
448,541
Latest member
iparraguirre89

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