Text Alignment Formula

rhmkrmi

Active Member
Joined
Aug 17, 2012
Messages
345
Office Version
  1. 365
Platform
  1. Windows
Hello:

When I add the same text to the end of two words that have the same length, they do not look aligned even though the length is the same:

PHOTOCOPIERS OK
SHREDDERS OK

How can I align them using a formula so that OK in the second cell end at the same spot the above one does?

Thanks
 
If the solution from shg doesn't meet your requirements.
I suggest putting you added text in an adjacent column.
 
Upvote 0

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Thanks!

Is there any formula that I can use to get to the last character in the cell and then add more text to it? I can manage to get them all have the same length and then adding the text that I want to the end of the string will do the trick "I think"!

Thanks
 
Upvote 0
It works for cells where I have two words only but where there is more than 2, I cannot get the word SOLD aligned seperately, I want to right align one word (which is SOLD) and keep the rest to te left.
If you have more than two words, then replace all of the spaces except one with non-breaking spaces (Alt+0160). The text will separate at the remaining space.
 
Upvote 0

Forum statistics

Threads
1,223,249
Messages
6,171,031
Members
452,374
Latest member
keccles

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
Back
Top