LOOKUP hassles

Jason

New Member
Joined
May 7, 2003
Messages
15
I am aware that the lookup value in the VLOOKUP function has to be the first column in the array (according to Excel help)and hence will only return values to the right of the lookup value. What I want to do is lookup a value and return values in cells immediately to the left of the lookup value. Unfortunately it is not a simple matter of just swapping the order of the columns. Thoughts?
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
You need top look at the INDEX and MATCH functions, or OFFSET function.

Provide some more detail and I'm sure someone will help.
 
Upvote 0
Here's some more detail (wish I knew how to display the actual spreadsheet...anyway).
In columns A and B (hypothetically) there would be codes such as
A B
abcd milldr
efgh milldr
ijkl harmjo
mnop mckeja

I want to look up all references to mckeja and return the value mnop.
 
Upvote 0
Looks like it should do the job. I'm just trying to decipher it so I can modify it as necessary for different arrays and lookup values. Basically, what the heck does this formula do in simple english.
 
Upvote 0
MATCH("mckeja",B:B)
will determine the row number

=INDEX(A:A,MATCH("mckeja",B:B),0)
starts at A1 and looks down 4 rows and accross 0 columns.
 
Upvote 0

Forum statistics

Threads
1,226,452
Messages
6,191,133
Members
453,642
Latest member
jefals

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