vlookup to one row BELOW the looked up value

Berrett

Board Regular
Joined
Aug 6, 2004
Messages
249
I have merged cells in column A - imagine my name merged down from A1 to A3.
Then I have data in B1, B2, and B3.

On another sheet I have a vlookup that's looking for my name. A regular vlookup finds my name in the merged cells and returns the value from B1. But how do I write a vlookup that will return the values from B2 and B3?
 
Last edited:

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Use index/match. I'm going to assume your lookupvalue is in c1, replace as appropriate:

Code:
=index(b:b,match(c1,a:a,0)+1)

Code:
=index(b:b,match(c1,a:a,0)+2)

First one returns B2, second one returns B3.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

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