F
Fitzwilliam Darcy
We export a spreadsheet with the following information:
StudentID, LastName, FirstName, Enrolled Hours
2700, Smith, Bob, 3
19243, Hancock, John, 5
533, Doe, Jane, 7
Every day or two, we would like to export an update of the same
spreadsheet and see if the hours have changed for the student from the
last time we exported. If Bob Smith changed from 3 hours to 12 hours
we would like to know. If Bob's hours remained the same, we want to
ignore him for this report.
We thought to copy the new spreadsheet into the old and sort on the
StudentID and then compare the new hours to the old hours and see if
they had changed.
Like this:
Old Data
2700, Smith, Bob, 3
19243, Hancock, John, 5
533, Doe, Jane, 7
New Data
2700, Smith, Bob, 6
19243, Hancock, John, 5
533, Doe, Jane, 9
Since the data lines up, we can easily use a new column that returns
true (hours are the same) or false (hours have changed). In this case,
Bob and Jane need to be flagged as having hours changed and John
Hancock has no change and can be ignored.
The problem is that enrollment changes so much. Some students will be
on the first export and not the second, new students are on the second
and not the first export. So we cannot simply sort by StudentID to
line them up and compare the hours. They will not line up.
So the new report we want to compare to the old might have:
234, Roberts, Samantha, 3
67233, Davis, Julie, 4
2700, Smith, Bob, 6
34, Rivers, Mark
533, Doe, Jane, 7
43233 Cliff, Dave, 3
Notice there are two new students before Bob Smith and Jane Doe and
John Hancock has dropped out of the new export altogether.
Any suggestions?
StudentID, LastName, FirstName, Enrolled Hours
2700, Smith, Bob, 3
19243, Hancock, John, 5
533, Doe, Jane, 7
Every day or two, we would like to export an update of the same
spreadsheet and see if the hours have changed for the student from the
last time we exported. If Bob Smith changed from 3 hours to 12 hours
we would like to know. If Bob's hours remained the same, we want to
ignore him for this report.
We thought to copy the new spreadsheet into the old and sort on the
StudentID and then compare the new hours to the old hours and see if
they had changed.
Like this:
Old Data
2700, Smith, Bob, 3
19243, Hancock, John, 5
533, Doe, Jane, 7
New Data
2700, Smith, Bob, 6
19243, Hancock, John, 5
533, Doe, Jane, 9
Since the data lines up, we can easily use a new column that returns
true (hours are the same) or false (hours have changed). In this case,
Bob and Jane need to be flagged as having hours changed and John
Hancock has no change and can be ignored.
The problem is that enrollment changes so much. Some students will be
on the first export and not the second, new students are on the second
and not the first export. So we cannot simply sort by StudentID to
line them up and compare the hours. They will not line up.
So the new report we want to compare to the old might have:
234, Roberts, Samantha, 3
67233, Davis, Julie, 4
2700, Smith, Bob, 6
34, Rivers, Mark
533, Doe, Jane, 7
43233 Cliff, Dave, 3
Notice there are two new students before Bob Smith and Jane Doe and
John Hancock has dropped out of the new export altogether.
Any suggestions?