I have a large table I imported from an Excel spreadsheet. For five of the columns, containing teacher names, I'd like to collapse all of the blanks in each row so I have no blanks to the left of any name. An example would probably show better what I mean.
Here's an example of the data now:
Student ID Teacher1 Teacher2 Teacher3 Teacher4 Teacher5
445633 Mary Deb Juan
876302 Trevor Juan Mary Val Deb
659404 Luo Trevor
535485 Deb
775431 Val Luo
565002 Luo Mary Juan
And I'd like to collapse the blanks to the left, so it looks like this:
Student ID Teacher1 Teacher2 Teacher3 Teacher4 Teacher5
445633 Mary Deb Juan
876302 Trevor Juan Mary Val Deb
659404 Luo Trevor
535485 Deb
775431 Val Luo
565002 Luo Mary Juan
I have to do it this way because I'll pasting it into a state-mandated Excel template, and I can't have any blanks to the left of teacher names, only blanks to the right.
Thank you!