What a great site...I'm hoping someone can help with my Excel problem.
I work for a career school and need to schedule courses for students but cannot schedule a new course until they have taken the pre-requisite course. So:
Col.A student's name
Col. B lists the courses the student still needs to take to complete their degree.
Col. C lists the pre-requisites.
Col.A Col.B Col.C
Alison bu100 no pre-req.
Alison bu125 bu100
Alison bu140 bu110
Alison bu150 bu130
Alison bu175 bu160
Bob mt115 mt100
Bob mt120 mt115
Bob mt 130 mt120
Carl bu100 no pre-req.
Carl bu130 bu110
Carl bu140 bu130
Carl bu150 bu145
In the above example for Alison, on the second line, she needs to take bu125 (Col.B) but bu125 requires that she's already taken bu100. However, we can see on Alison's first line (Col.B) that she still needs to take bu100, so she cannot yet take bu125.
Same thing occurs with Bob (3rd line) where he needs to take mt130 which requires that he's already taken mt120,. However, we can see on Bob's second line that he still needs to take mt120, so he cannot yet take mt130.
Again, same thing with Carl (third line, Col.B) where he needs to take bu140 which requires first taking bu130, but he cannot because we see on Carl's second line that he still needs to take bu130.
I need a formula that checks the pre-requisite courses (Col.C) against the courses that the student still needs to take (Col.B) and then returns some type of response (i.e: a "1" or a text like "YES", etc.) only for each individual student. By this I mean I only care about Alison's pre-req. courses matching against her still to be taken courses. Alison's pre-requisite courses are irrelevant to Carl's pre-requisite courses.
I've tried =match, =find, =index, vlookups and anything else I can find on the web and nothing seems to work.
Any help will be greatly appreciated.
thanks.
I work for a career school and need to schedule courses for students but cannot schedule a new course until they have taken the pre-requisite course. So:
Col.A student's name
Col. B lists the courses the student still needs to take to complete their degree.
Col. C lists the pre-requisites.
Col.A Col.B Col.C
Alison bu100 no pre-req.
Alison bu125 bu100
Alison bu140 bu110
Alison bu150 bu130
Alison bu175 bu160
Bob mt115 mt100
Bob mt120 mt115
Bob mt 130 mt120
Carl bu100 no pre-req.
Carl bu130 bu110
Carl bu140 bu130
Carl bu150 bu145
In the above example for Alison, on the second line, she needs to take bu125 (Col.B) but bu125 requires that she's already taken bu100. However, we can see on Alison's first line (Col.B) that she still needs to take bu100, so she cannot yet take bu125.
Same thing occurs with Bob (3rd line) where he needs to take mt130 which requires that he's already taken mt120,. However, we can see on Bob's second line that he still needs to take mt120, so he cannot yet take mt130.
Again, same thing with Carl (third line, Col.B) where he needs to take bu140 which requires first taking bu130, but he cannot because we see on Carl's second line that he still needs to take bu130.
I need a formula that checks the pre-requisite courses (Col.C) against the courses that the student still needs to take (Col.B) and then returns some type of response (i.e: a "1" or a text like "YES", etc.) only for each individual student. By this I mean I only care about Alison's pre-req. courses matching against her still to be taken courses. Alison's pre-requisite courses are irrelevant to Carl's pre-requisite courses.
I've tried =match, =find, =index, vlookups and anything else I can find on the web and nothing seems to work.
Any help will be greatly appreciated.
thanks.