Can anyone help me with this. One of my sheets has info on student ID and the class they were in last year. The new sheet has the student id and the class they are enrolled in this year. If they both don't match it should say bad. Sheet two should look like the table below. The range is H2:P1854, H is the ID Column, P is the class Column(for both sheets)
[TABLE="width: 500"]
<tbody>[TR]
[TD]ID
[/TD]
[TD]Class
[/TD]
[TD]Verification
[/TD]
[/TR]
[TR]
[TD]1234566
[/TD]
[TD]Math
[/TD]
[TD]
[/TR]
[TR]
[TD]3423443
[/TD]
[TD]Math
[/TD]
[TD]Good
[/TD]
[/TR]
[TR]
[TD]3422342
[/TD]
[TD]Science
[/TD]
[TD]Bad
[/TD]
[/TR]
[TR]
[TD]8978989
[/TD]
[TD]Science
[/TD]
[TD]Bad
[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 500"]
<tbody>[TR]
[TD]ID
[/TD]
[TD]Class
[/TD]
[TD]Verification
[/TD]
[/TR]
[TR]
[TD]1234566
[/TD]
[TD]Math
[/TD]
[TD]
=IF(VLOOKUP(H2,'2018 Classes Roster'!$H$2:$P$1854,6,FALSE)=0,"bad","good")
[/TD][/TR]
[TR]
[TD]3423443
[/TD]
[TD]Math
[/TD]
[TD]Good
[/TD]
[/TR]
[TR]
[TD]3422342
[/TD]
[TD]Science
[/TD]
[TD]Bad
[/TD]
[/TR]
[TR]
[TD]8978989
[/TD]
[TD]Science
[/TD]
[TD]Bad
[/TD]
[/TR]
</tbody>[/TABLE]