If Vlookup for data base matching

cadence

Well-known Member
Joined
Dec 6, 2005
Messages
528
Hi there guys,

Been a while since I've been using excel and the brain is a bit rusty....

I'm Just trying to get a formula right so that if someone enters a name, the matching phone number comes up next to it...

breaks down like this..

I have a column A with names and a column B of phone numbers.

If I have a Column E where a user enters a name, What formula do I need so that in Column F it adds the matching phone number from Column B?

I think its a Vlookup solution...

any light is always appreciated

cheers?
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Thats for that it worked a treat.

Just to follow up.

Can I turn that cell in to an IF statement, that if the cell is empty for the Vlookup, ie if Vlookup = "" that the cell lets me choose from a data -> Validation... List -> dropdown list lets instead?

Just want to give the choice that if they don't access the data base they can enter there own value from a list?

Does that make sense is it something that is possible?

cheers
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,249
Members
452,623
Latest member
Techenthusiast

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