Assistance with VLookup Formula

DoggoS

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

I have 3 sheets containing various employee data - one sheet named 'User data' contains the Full Name (in column A), another sheet named 'Master Data' contains Full Name (in column A) and final sheet named named 'Employee with Samsung' contains Employee Full Name (in column A) along with 'Device Details' (in column B of this sheet).
I need a formula to look up the Full Name from 'User Data' sheet and match it to the Full Name from 'Employee with Samsung' sheet and if it finds it to then retrieve the 'Device Details' (in column B) from this sheet and populate it into the Device Details (column D) within the 'User Data' sheet.
I hope that makes sense...
Grateful for any assistance - thank you in advance
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
=index('Employee with Samsung'!$B$2:$B$1000, match(A2,'Employee with Samsung'!$A$2:$A$1000,0))

you could also do with a vlookup
=Vlookup(A2, 'Employee with Samsung'!$A$2:$B$1000,2,false)

not sure where master data sheet comes in
as all sheets have full name in column A

if the name is not found you get an N/A error - you can use IFERROR() to change that to another massage
 
Upvote 0
Solution
you are welcome
meant to have mentioned - change 1000 to however many rows cover your data
 
Upvote 0
=VLOOKUP(A2,'Employee with Samsung'!A:B,2,FALSE)
will add the device details and a #N/A if no match


=IFERROR(VLOOKUP(A2,'Employee with Samsung'!A:B,2,FALSE),"")
will add the Device details and a blank if no match
 
Upvote 0

Forum statistics

Threads
1,224,816
Messages
6,181,141
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