Could you provide us with a small sample data set and your desired outcome? You can just past them in from Excel. That way it would be much easier for us to understand exactly what you are looking for.
Hi NickyvV. I hope this helps:
1. Starting with a list of students, their classes and the semester they will take each class…</SPAN>
[TABLE="width: 280"]
<TBODY>[TR]
[TD]
Name</SPAN>
[/TD]
[TD]
Class</SPAN>
[/TD]
[TD]
Semester</SPAN>
[/TD]
[/TR]
[TR]
[TD]Jane</SPAN>
[/TD]
[TD]Math 1</SPAN>
[/TD]
[TD]
Fall 12</SPAN>
[/TD]
[/TR]
[TR]
[TD]Jane</SPAN>
[/TD]
[TD]CHEM 1A</SPAN>
[/TD]
[TD]
Fall 12</SPAN>
[/TD]
[/TR]
[TR]
[TD]Jane</SPAN>
[/TD]
[TD]MATH 1</SPAN>
[/TD]
[TD]
Fall 12</SPAN>
[/TD]
[/TR]
[TR]
[TD]Jane</SPAN>
[/TD]
[TD]BIO 4</SPAN>
[/TD]
[TD]
Spr 13</SPAN>
[/TD]
[/TR]
[TR]
[TD]Jim</SPAN>
[/TD]
[TD]PHYS 2A</SPAN>
[/TD]
[TD]
Spr 13</SPAN>
[/TD]
[/TR]
[TR]
[TD]Jim</SPAN>
[/TD]
[TD]CHEM 1B</SPAN>
[/TD]
[TD]
Spr 13</SPAN>
[/TD]
[/TR]
[TR]
[TD]Jim</SPAN>
[/TD]
[TD]CHEM 12A</SPAN>
[/TD]
[TD]
Fall 13</SPAN>
[/TD]
[/TR]
[TR]
[TD]Jim</SPAN>
[/TD]
[TD]PHYS 2B</SPAN>
[/TD]
[TD]
Fall 13</SPAN>
[/TD]
[/TR]
[TR]
[TD]Jim</SPAN>
[/TD]
[TD]BIO 2</SPAN>
[/TD]
[TD]
Fall 13</SPAN>
[/TD]
[/TR]
[TR]
[TD]Albert</SPAN>
[/TD]
[TD]Math 1</SPAN>
[/TD]
[TD]
Fall 12</SPAN>
[/TD]
[/TR]
[TR]
[TD]Albert</SPAN>
[/TD]
[TD]MATH 55</SPAN>
[/TD]
[TD]
Fall 12</SPAN>
[/TD]
[/TR]
[TR]
[TD]Albert</SPAN>
[/TD]
[TD]MATH 37</SPAN>
[/TD]
[TD]
Spr 13</SPAN>
[/TD]
[/TR]
[TR]
[TD]Albert</SPAN>
[/TD]
[TD]CHEM 31</SPAN>
[/TD]
[TD]
Spr 13</SPAN>
[/TD]
[/TR]
[TR]
[TD]Albert</SPAN>
[/TD]
[TD]ENGR 11</SPAN>
[/TD]
[TD]
Spr 13</SPAN>
[/TD]
[/TR]
[TR]
[TD]Albert</SPAN>
[/TD]
[TD]MATH 20</SPAN>
[/TD]
[TD]
Fall 13</SPAN>
[/TD]
[/TR]
[TR]
[TD]Theresa</SPAN>
[/TD]
[TD]Math 1</SPAN>
[/TD]
[TD]
Fall 13</SPAN>
[/TD]
[/TR]
[TR]
[TD]Theresa</SPAN>
[/TD]
[TD]CSCI 7</SPAN>
[/TD]
[TD]
Fall 13</SPAN>
[/TD]
[/TR]
[TR]
[TD]Theresa</SPAN>
[/TD]
[TD]MATH 1</SPAN>
[/TD]
[TD]
Spr 14</SPAN>
[/TD]
[/TR]
[TR]
[TD]Theresa</SPAN>
[/TD]
[TD]ENGR 22</SPAN>
[/TD]
[TD]
Spr 14</SPAN>
[/TD]
[/TR]
[TR]
[TD]Theresa</SPAN>
[/TD]
[TD]CSCI 14</SPAN>
[/TD]
[TD]
Spr 14</SPAN>
[/TD]
[/TR]
[TR]
[TD]Theresa</SPAN>
[/TD]
[TD]MATH 20</SPAN>
[/TD]
[TD]
Fall 14</SPAN>
[/TD]
[/TR]
[TR]
[TD]Theresa</SPAN>
[/TD]
[TD]ENGR 25</SPAN>
[/TD]
[TD]
Fall 14</SPAN>
[/TD]
[/TR]
[TR]
[TD]Theresa</SPAN>
[/TD]
[TD]PHYS 4A</SPAN>
[/TD]
[TD]
Fall 14</SPAN>
[/TD]
[/TR]
</TBODY>[/TABLE]
2. My question could be: Can I see all of the classes for the students taking Math 1 in Fall 12?</SPAN>
3. The answer would look like this…
[TABLE="width: 280"]
<TBODY>[TR]
[TD]
Name</SPAN>
[/TD]
[TD]
Class</SPAN>
[/TD]
[TD]
Semester</SPAN>
[/TD]
[/TR]
[TR]
[TD]Jane</SPAN>
[/TD]
[TD]Math 1</SPAN>
[/TD]
[TD]
Fall 12</SPAN>
[/TD]
[/TR]
[TR]
[TD]Jane</SPAN>
[/TD]
[TD]CHEM 1A</SPAN>
[/TD]
[TD]
Fall 12</SPAN>
[/TD]
[/TR]
[TR]
[TD]Jane</SPAN>
[/TD]
[TD]MATH 1</SPAN>
[/TD]
[TD]
Fall 12</SPAN>
[/TD]
[/TR]
[TR]
[TD]Jane</SPAN>
[/TD]
[TD]BIO 4</SPAN>
[/TD]
[TD]
Spr 13</SPAN>
[/TD]
[/TR]
[TR]
[TD]Albert</SPAN>
[/TD]
[TD]Math 1</SPAN>
[/TD]
[TD]
Fall 12</SPAN>
[/TD]
[/TR]
[TR]
[TD]Albert</SPAN>
[/TD]
[TD]MATH 55</SPAN>
[/TD]
[TD]
Fall 12</SPAN>
[/TD]
[/TR]
[TR]
[TD]Albert</SPAN>
[/TD]
[TD]MATH 37</SPAN>
[/TD]
[TD]
Spr 13</SPAN>
[/TD]
[/TR]
[TR]
[TD]Albert</SPAN>
[/TD]
[TD]CHEM 31</SPAN>
[/TD]
[TD]
Spr 13</SPAN>
[/TD]
[/TR]
[TR]
[TD]Albert</SPAN>
[/TD]
[TD]ENGR 11</SPAN>
[/TD]
[TD]
Spr 13</SPAN>
[/TD]
[/TR]
[TR]
[TD]Albert</SPAN>
[/TD]
[TD]MATH 20</SPAN>
[/TD]
[TD]
Fall 13</SPAN>
[/TD]
[/TR]
</TBODY>[/TABLE]
4. Can I used a pivot to get this kind of result?
Sorry, I can't delete the unrelated table below...
[TABLE="width: 210"]
<TBODY>[TR]
[TD="class: xl63, width: 64, bgcolor: transparent"][/TD]
[TD="class: xl63, width: 108, bgcolor: transparent"][/TD]
[TD="class: xl63, width: 108, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl63, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl63, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl63, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl63, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl63, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl63, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl63, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl63, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl63, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl63, bgcolor: transparent"]
[/TD]
[/TR]
</TBODY>[/TABLE]