cebu1014
asked on
Text with trailing spaces
I need formula to convert text in cell to 10 characters in length inside quotes.
value in A1 B1000 to "B1000 "
value in A1 B1000 to "B1000 "
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
why would you want to do this anyways, doesn't make a lot of sense, maybe if you give us an explanation of the problem we can come up with better solution.
ASKER
The result will be copied to text file for importing into program.
Can I get the display to show "B1000 " in excel?
Can I get the display to show "B1000 " in excel?
Not for points:
In case cell A1 has trailing spaces in it, already, I would recommend a slight modification to ZShaver's tip:
[B1]=TRIM(A1)&REPT(" ",10-LEN(TRIM(A1)))
and copy down. You can then copy B column and paste value to A column
Cheers,
Dave
In case cell A1 has trailing spaces in it, already, I would recommend a slight modification to ZShaver's tip:
[B1]=TRIM(A1)&REPT(" ",10-LEN(TRIM(A1)))
and copy down. You can then copy B column and paste value to A column
Cheers,
Dave
Can I get the display to show "B1000 " in excel?well, you can't see spaces, but if u underline the cell you can see it is working
If you have mutiple columns,
You may adjust the column width, for example 10.
Save as "*.prn" file.
The column will be displayed as 10 characters include spacing.
You may adjust the column width, for example 10.
Save as "*.prn" file.
The column will be displayed as 10 characters include spacing.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.