When I use this solution and go to last column I get something like this:
Shift column and something weird at the end.