You guys have improved my excel knowledge by leaps and bounds, but I need a little help! My wife brought me this question tonight and I feel like this would be a nested match formula but I'm failing to make it work.
For some reason "Forum Tools" isn't working nicely with Excel 2016 for Mac, so pardon the look of the attached tables.
In Sheet 1 column F, we're trying to see if the course a student took (Column C) is required for their major (Column B) depending on the lists in Sheet 2. So basically, identify which list we want to look up depending on their major, and then matching the course ID.
The formulas in F right now were just some things we were trying.
Any insight or ideas would be greatly appreciated.
[TABLE="class: head"]
<tbody>[TR]
[TH][/TH]
[TH]
[TH]
[TH]C[/TH]
[TH]
[TH]
[TH]
[/TR]
[TR]
[TD]
[TD]ID[/TD]
[TD]MAJOR[/TD]
[TD]COURSE[/TD]
[TD]GRADE[/TD]
[TD]CHRS[/TD]
[TD]REQUIRED[/TD]
[/TR]
[TR]
[TD]
[TD]
[TD]PNC.CT[/TD]
[TD]MAT131[/TD]
[TD]A[/TD]
[TD]
[TD]=IF(OR(C2=Sheet2!B2, C2=Sheet2!C2, C2=Sheet2!D2, C2=Sheet2!E2), "Program", "Non-Program")[/TD]
[/TR]
[TR]
[TD]
[TD]
[TD]PNC.CT[/TD]
[TD]ENG101[/TD]
[TD]C[/TD]
[TD]
[TD]=IF(OR(C3=Sheet2!B3, C3=Sheet2!C3, C3=Sheet2!D3, C3=Sheet2!E3), "Program", "Non-Program")[/TD]
[/TR]
[TR]
[TD]
[TD]
[TD]PNC.CT[/TD]
[TD]PSY205[/TD]
[TD]A[/TD]
[TD]
[TD][/TD]
[/TR]
[TR]
[TD]
[TD]
[TD]BSC.AAB[/TD]
[TD]BIO411[/TD]
[TD]B[/TD]
[TD]
[TD][/TD]
[/TR]
[TR]
[TD]
[TD]
[TD]BSC.AAB[/TD]
[TD]PSY511[/TD]
[TD]D[/TD]
[TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid"]
<tbody>[TR]
[TD]Sheet: Sheet1[/TD]
[/TR]
</tbody>[/TABLE]
Unknown 64 bit
[TABLE="class: head"]
<tbody>[TR]
[TH][/TH]
[TH]
[TH]B[/TH]
[TH]
[TH]
[TH]
[/TR]
[TR]
[TD]
[TD]MAJOR[/TD]
[TD]PROGRAM COURSE 1[/TD]
[TD]PROGRAM COURSE 2[/TD]
[TD]PROGRAM COURSE 3[/TD]
[TD]PROGRAM COURSE 4[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]PNC.CT[/TD]
[TD]ENG 101[/TD]
[TD]MAT131[/TD]
[TD]SOC105[/TD]
[TD]ADC208[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]BSC.AAB[/TD]
[TD]BIO411[/TD]
[TD]MAT209[/TD]
[TD]SOC105[/TD]
[TD]PSYC511[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid"]
<tbody>[TR]
[TD]Sheet: Sheet2[/TD]
[/TR]
</tbody>[/TABLE]
For some reason "Forum Tools" isn't working nicely with Excel 2016 for Mac, so pardon the look of the attached tables.
In Sheet 1 column F, we're trying to see if the course a student took (Column C) is required for their major (Column B) depending on the lists in Sheet 2. So basically, identify which list we want to look up depending on their major, and then matching the course ID.
The formulas in F right now were just some things we were trying.
Any insight or ideas would be greatly appreciated.
[TABLE="class: head"]
<tbody>[TR]
[TH][/TH]
[TH]
A
[/TH][TH]
B
[/TH][TH]C[/TH]
[TH]
D
[/TH][TH]
E
[/TH][TH]
F
[/TH][/TR]
[TR]
[TD]
1
[/TD][TD]ID[/TD]
[TD]MAJOR[/TD]
[TD]COURSE[/TD]
[TD]GRADE[/TD]
[TD]CHRS[/TD]
[TD]REQUIRED[/TD]
[/TR]
[TR]
[TD]
2
[/TD][TD]
544782
[/TD][TD]PNC.CT[/TD]
[TD]MAT131[/TD]
[TD]A[/TD]
[TD]
4
[/TD][TD]=IF(OR(C2=Sheet2!B2, C2=Sheet2!C2, C2=Sheet2!D2, C2=Sheet2!E2), "Program", "Non-Program")[/TD]
[/TR]
[TR]
[TD]
3
[/TD][TD]
544782
[/TD][TD]PNC.CT[/TD]
[TD]ENG101[/TD]
[TD]C[/TD]
[TD]
4
[/TD][TD]=IF(OR(C3=Sheet2!B3, C3=Sheet2!C3, C3=Sheet2!D3, C3=Sheet2!E3), "Program", "Non-Program")[/TD]
[/TR]
[TR]
[TD]
4
[/TD][TD]
544782
[/TD][TD]PNC.CT[/TD]
[TD]PSY205[/TD]
[TD]A[/TD]
[TD]
3
[/TD][TD][/TD]
[/TR]
[TR]
[TD]
5
[/TD][TD]
531877
[/TD][TD]BSC.AAB[/TD]
[TD]BIO411[/TD]
[TD]B[/TD]
[TD]
3
[/TD][TD][/TD]
[/TR]
[TR]
[TD]
6
[/TD][TD]
531877
[/TD][TD]BSC.AAB[/TD]
[TD]PSY511[/TD]
[TD]D[/TD]
[TD]
3
[/TD][TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid"]
<tbody>[TR]
[TD]Sheet: Sheet1[/TD]
[/TR]
</tbody>[/TABLE]
Unknown 64 bit
[TABLE="class: head"]
<tbody>[TR]
[TH][/TH]
[TH]
A
[/TH][TH]B[/TH]
[TH]
C
[/TH][TH]
D
[/TH][TH]
E
[/TH][/TR]
[TR]
[TD]
1
[/TD][TD]MAJOR[/TD]
[TD]PROGRAM COURSE 1[/TD]
[TD]PROGRAM COURSE 2[/TD]
[TD]PROGRAM COURSE 3[/TD]
[TD]PROGRAM COURSE 4[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]PNC.CT[/TD]
[TD]ENG 101[/TD]
[TD]MAT131[/TD]
[TD]SOC105[/TD]
[TD]ADC208[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]BSC.AAB[/TD]
[TD]BIO411[/TD]
[TD]MAT209[/TD]
[TD]SOC105[/TD]
[TD]PSYC511[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid"]
<tbody>[TR]
[TD]Sheet: Sheet2[/TD]
[/TR]
</tbody>[/TABLE]