Assistance with Vlookup

DoggoS

New Member
Joined
Feb 14, 2023
Messages
11
Office Version
  1. 365
Platform
  1. Windows
Hi there,

I have 2 sheets containing various employee data - one sheet named ‘Data to Check' contains the Employee Phone Number (in column A) and the other sheet named 'Master Data New Connections' contains Employee Phone Number (in column A) along with Employee's User Name (in column B of this sheet).
I need a formula to look up the Employee Phone Number from ‘Data to Check' sheet and match it to the Employee Phone Number from 'Master Data New Connections' sheet and if it is a match to then retrieve the Employee's User Name from this sheet and populate it into the Employee User Name column (column B) within the ‘Data to Check' sheet.
I hope that makes sense...
Grateful for any assistance - thank you in advance 😊
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
DoggoS, good morning.

Try to use:

Sheet: Data to Check

B2 --> Formula
B2 =IFERROR(VLOOKUP(A2, 'Master Data New Connections'!$A$2:$B$11, 2, FALSE),"---- Not Found ----")

Please, tell us if it worked for you.

Hope it helps.
 
Upvote 0
Solution
DoggoS,

Thanks for the feedback.

I'm happy to have helped you.

Have a great weekend.
 
Upvote 0

Forum statistics

Threads
1,214,958
Messages
6,122,475
Members
449,087
Latest member
RExcelSearch

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