I am a completely ignorant in how to make macros. A colleague used to use one to help us send out letters for students with poor grades. If anyone can help craft a macro let me know. This is a sample of the data I'm working with (names and addresses changed for obvious reasons).
What I'm wanting to do is modify the above data so students with multiple grades whose names appear as duplicates in columns have their classes and grades transposed onto the same row, so for example, Kevin Johnson on the above list would have his classes and grades listed out as follows instead of having his name duplicated. I believe there are students that could have up to 7 grades on this document. The document has about 1338 rows right now and I'm hoping to condense it:
If this is not an easy ask I understand. When my coworker left us she took her macro and now we don't know how to run these numbers so we can do a mail merge and mail out letters to notify parents of D's and F's. If you're are able to help with a macro it'd be appreciated.
Thank you!
Last Name | First Name | Grade | Student ID | Course title | Mark2 | Residence Address | Residence City | Res State | Res Zip |
Johnson | Kevin | 12 | 916721 | Health | D+ | 222 W. Creek | Amityville | TX | 92888 |
Johnson | Kevin | 12 | 916721 | Intensive Rdng | D- | 222 W. Creek | Amityville | TX | 92888 |
Lopez | Sally | 11 | 876675 | Geometry | D | 111 Chestnut | Bellfront | CA | 92225 |
Derrick | Kelly | 11 | 886512 | US History | F | 1234 Primrock | Rosecrest | CA | 85545 |
What I'm wanting to do is modify the above data so students with multiple grades whose names appear as duplicates in columns have their classes and grades transposed onto the same row, so for example, Kevin Johnson on the above list would have his classes and grades listed out as follows instead of having his name duplicated. I believe there are students that could have up to 7 grades on this document. The document has about 1338 rows right now and I'm hoping to condense it:
Last Name | First Name | Grade | Student ID | Course title | Mark2 | Course Title | Mark 2 | Residence Address | Residence City | Res State | Res Zip |
Johnson | Kevin | 12 | 916721 | Health | D+ | Intensive Reading | D- | 222 W. Creek | Amityville | TX | 92888 |
If this is not an easy ask I understand. When my coworker left us she took her macro and now we don't know how to run these numbers so we can do a mail merge and mail out letters to notify parents of D's and F's. If you're are able to help with a macro it'd be appreciated.
Thank you!