simple lookup

bmuddy2

Active Member
Joined
Jun 22, 2004
Messages
398
Good morning all, If your in Michigan I hope your enjoying the snow.
here is a simple formula question. I tried to look through the posts but most are more complicated and too much for me to make work.

cell U6 has a name, formula in cell V6

AP6:AP105 contains a list of names,AO6:AO105 contains last names.

There are some blank cells and some cell contain numbers. What formula would I put into V6 so it will look at U6 and find a match in AP6:AP105, then find whats in the cell to the left of it in AO6:AO105 ? and if U6 is empty then "" ?

I do not believe there are duplicates but it is possible.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Try
Code:
=IF(U6="","",INDEX($AO$6:$AO$105,MATCH(U6,$AP$6:$AP$105,0)))

In case of duplicates this will find the first match, If you want all matches (e.g. in V6, V7 etcetera), it will be more complicated
 
Upvote 0

Forum statistics

Threads
1,215,759
Messages
6,126,722
Members
449,332
Latest member
nokoloina

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