Vlookup Offset Row?

jmersing

Well-known Member
Joined
Apr 14, 2004
Messages
887
My lookup is below. Is there a way to return a result that is 2 rows higher than the existing match?

Let's say my match was found in Colunm B and I am returning 1st colunm, could I return 2 rows higher than my match?

I tried offset((VLOOKUP("T"&$AI5,ENTRY!$B$2:$B$2001,1,FALSE)),2,0)
with no success.

=(VLOOKUP("T"&$AI5,ENTRY!$B$2:$B$2001,1,FALSE))

Thanks
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Try

=Index(ENTRY!$B$2:$B$2001,Match("T"&AI5,ENTRY!$B$2:$B$2001,0)-2)
 
Upvote 0
Thanks! I actually had to change it to +2, but the end result was the desired effect.

One more question if you don't mind, is it possible to offset the result by colunm also?

i.e. After a match is found I'm get-ting the result of 2 rows lower, what if I wanted 2 rows lower but 2 colunms to the right? Is that possible?

Thanks again
 
Upvote 0
Try:

If you mean column C, then

=Index(ENTRY!$B$2:$C$2001,Match("T"&AI5,ENTRY!$B$2:$B$2001,0)+2,2)


If you mean column D, then

=Index(ENTRY!$B$2:$D$2001,Match("T"&AI5,ENTRY!$B$2:$B$2001,0)+2,3)
 
Upvote 0
Sweet!

I was changing the range on both parts of the formula istead of just the first one.

Thanks again!
 
Upvote 0

Forum statistics

Threads
1,214,971
Messages
6,122,517
Members
449,088
Latest member
RandomExceller01

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