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

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
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,223,227
Messages
6,170,853
Members
452,361
Latest member
d3ad3y3

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