I'm making this ASCII file for the IRS, they require that each column has a certain number of spaces regardless of the actual size of the data within that cell.
Exp. They require 40 spaces in the "name" column, so let's say we have the name "Smith, Jack" that only takes up 11 spaces so we would have to add after it 40-11=29 spaces, so that the column took up 40 spaces.
So I'm looking for some kind of formual or command that will count how many spaces are in the cell and add the appropraite amount of spaces after it. I have about 3000 of these to do so a command or formula would be great.
Thanks, even if you could guide me in any kind of direction. Thanks
Exp. They require 40 spaces in the "name" column, so let's say we have the name "Smith, Jack" that only takes up 11 spaces so we would have to add after it 40-11=29 spaces, so that the column took up 40 spaces.
So I'm looking for some kind of formual or command that will count how many spaces are in the cell and add the appropraite amount of spaces after it. I have about 3000 of these to do so a command or formula would be great.
Thanks, even if you could guide me in any kind of direction. Thanks