How to lookup and call cell value from another sheet based on matching values?

pulsarkuant

New Member
Joined
Jan 9, 2011
Messages
20
I have 2 sheets containing student data. The second sheet is from a different database and includes new students username and password that needs to be added to the first sheet. I tried vlookup but couldn't figure it out. Your help is much appreciated.
Thanks
 

Attachments

  • screeshot.jpg
    screeshot.jpg
    116.6 KB · Views: 3

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Try this in the blank cells of Col. C of the CurrentStudents tab changing the 2 to equal what row number the missing text is in:

=VLOOKUP(A2,NewStudents!A:B,2,FALSE)
 
Upvote 0
Solution
Try this in the blank cells of Col. C of the CurrentStudents tab changing the 2 to equal what row number the missing text is in:

=VLOOKUP(A2,NewStudents!A:B,2,FALSE)
Nice, It works :), but how can I cover all users with missing passwords in CurrentStudents sheet?
 
Upvote 0
Try these three steps:
  1. Filter by (Blanks) in Col. C the CurrentStudents tab
  2. Put my formula into the first blank cell in Col. C changing the row number to match the first missing row number if required
  3. Copy the formula from step 2 into each blank (visible) filtered cell in Col. C
 
Upvote 0

Forum statistics

Threads
1,216,153
Messages
6,129,176
Members
449,491
Latest member
maxim_sivakon

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