Assistance with VLookup

DoggoS

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

I have 2 sheets containing various employee data - one sheet named 'User data' contains the Full Name (in column A), and another sheet named 'Employee with Samsung' contains 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 B) within the 'User Data' sheet.
I hope that makes sense...
Grateful for any assistance - thank you in advance :)
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Since you have Office 365, you should use the newer (and much better) XLOOKUP instead.

If you can organise the data into two tables called UserData and EmployeeWithSamsung, you can use

Excel Formula:
=XLOOKUP([@[Full Name]],EmployeeWithSamsung[Full Name],EmployeeWithSamsung[Device Details],"")
 
Last edited:
Upvote 0
=VLOOKUP('User data'!A2,'Employee with Samsung'!$A$2:$B$1000,2,FALSE)

copy down
change 1000 to how ever many rows you need to over

also if name is not found you get an error , so to stop the error code use

=IFERROR(VLOOKUP('User data'!A2,'Employee with Samsung'!$A$2:$B$1000,2,FALSE),"")
 
Upvote 1
=VLOOKUP('User data'!A2,'Employee with Samsung'!$A$2:$B$1000,2,FALSE)

copy down
change 1000 to how ever many rows you need to over

also if name is not found you get an error , so to stop the error code use

=IFERROR(VLOOKUP('User data'!A2,'Employee with Samsung'!$A$2:$B$1000,2,FALSE),"")
Thank you so much, this worked a treat :)
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,219
Members
452,620
Latest member
dsubash

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