If one cell matches a cell from a list....

lars1565

New Member
Joined
Apr 18, 2016
Messages
10
Office Version
  1. 2019
Platform
  1. Windows
What I am trying to have happen:

I will have Student ID numbers in a column. Next to each ID number (the next column over) there will be additional info like "Paid" or "Not Paid".

I will have students enter their ID number is a cell and I want excel to put the additional piece of information ("Paid" or "Not paid") that matches their ID number in the cell next where they entered their number

I know I could do this with a very very long IF() but am hoping for something slicker.

Thanks in Advanced
LL
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
If you already have a list showing ID and paid/not paid,, then a simple vlookup will do what you want
 
Upvote 0
Lars,

Depending on your workbook, you could use the formula:

=IF(A2="","",VLOOKUP(A2,Sheet1!A:B,2,0))

Have Sheet1 include a list of Student IDs and their additional info. Sheet2 should include Student ID in cell A1, and Info in B1. Put the formula in B2 and drag down. If you lock all cells in Column B, students can put their ID in each cell in column A and it will return whether they paid or not.

Let me know if this is what you were looking for.

Thanks,
Bill
 
Upvote 0

Forum statistics

Threads
1,224,752
Messages
6,180,743
Members
452,996
Latest member
nelsonsix66

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