Need Help with cell format

Ethanflux

New Member
Joined
May 3, 2013
Messages
11
I need help with making sure each cell has a total of 10 taken spaces. For example: Some cells will have "41254" or "857458", so 5 or 6 characters in each cell. I need to take up an additional 4 or 5 spaces by entering a space. I need to do this because I have to save the file and send it off to a conversion site that only accepts input of a 10 space range. How would I do this? Any ideas?
 

Some videos you may like

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

Ethanflux

New Member
Joined
May 3, 2013
Messages
11
I tried that Formula in Excel 2013 and it is giving me an error.
ERROR.png
 

Ethanflux

New Member
Joined
May 3, 2013
Messages
11
I could not get that formula to work with Excel 2013. Maybe they changed something. I did, with the help of your suggested formula come up with this. =A1&REPT(" "^10-LEN(A1)) That seemed to work great! Thank You!
 

Watch MrExcel Video

Forum statistics

Threads
1,122,569
Messages
5,596,915
Members
414,110
Latest member
docops

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top