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 'Samsung Replacement Master' contains the Employee Email Address (in column D) and the other sheet named 'A34 Registered Users' contains Employee Email Address (in column H).

I need a formula to look up the Employee Email Adddress from 'A34 Registered Users’ sheet and match it to the Employee Email Address from 'Samsung Replacement Master’ sheet and if it finds it to then put ‘Y’ into the ‘New Device Enrolled’ (Column I) within the 'Samsung Replacement Master’ sheet.
I hope that makes sense...
Grateful for any assistance - thank you in advance
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Hi,

maybe something like this can help you if you paste into Col I and copy down. (assuming data started in D2 (row 2)

Excel Formula:
=IF(IFNA(VLOOKUP(D2,'A34 Registered Users'!H:H,1,FALSE),"")<>"",1,"")

Rgds
Rob
 
Upvote 0
Or you could try this in cell I2 (no need to copy down, but check the range used in the formula to match your data in the Samsung sheet)
Excel Formula:
=IF(ISNUMBER(MATCH(D2:D20,'A34 Registered Users'!H:H,0)),"Y","")

For the future, to get better, faster and more tailored responses, I suggest that you investigate XL2BB for providing sample data & expected results to make it easier for helpers to understand just what you have & where it is and also what you want & where it is to be. If you have trouble with XL2BB review the "XL2BB Icons greyed out" link in the 'Known XL2BB issues' section near the top of the XL2BB Instructions page linked above.
 
Upvote 0
Solution
Hi,

maybe something like this can help you if you paste into Col I and copy down. (assuming data started in D2 (row 2)

Excel Formula:
=IF(IFNA(VLOOKUP(D2,'A34 Registered Users'!H:H,1,FALSE),"")<>"",1,"")

Rgds
Rob
Hi Rob,

Thank you for this but unfortunately its retrieving incorrect data. Data starts from D4 (row 4).
 
Upvote 0
try replacing D2 with D4 in the formula ?

Rob
 
Upvote 0
Or you could try this in cell I2 (no need to copy down, but check the range used in the formula to match your data in the Samsung sheet)
Excel Formula:
=IF(ISNUMBER(MATCH(D2:D20,'A34 Registered Users'!H:H,0)),"Y","")

For the future, to get better, faster and more tailored responses, I suggest that you investigate XL2BB for providing sample data & expected results to make it easier for helpers to understand just what you have & where it is and also what you want & where it is to be. If you have trouble with XL2BB review the "XL2BB Icons greyed out" link in the 'Known XL2BB issues' section near the top of the XL2BB Instructions page linked above.
Thank you this done the trick :)
 
Upvote 0
You're welcome. Thanks for the follow-up.
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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