Left and Right justify in same cell

PandM

New Member
Joined
Apr 13, 2015
Messages
5
Hello,
I would like to know how to left justify part of a cell entry to the left and part to the right. If that is not possible, is there a way to add a specific number of spaces at a certain point of the text in a cell so that the part that I want right justified is moved further right?

Thank you so much for any help. I am a complete newbie.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Thank you, Steve059L.

If I type this into a cell:
This is my text 2:3 1

I want it to look like this:
This is my text 2:3 1

Explanation:
I want the "This is my text 2:3" to be at the left margin
I want the number "1" to be at the right margin.

Again, thank you! That was a quick response:)
 
Last edited:
Upvote 0
Steve, that did not show up correctly on the post. I want the number "1" to be all the way to the right of the cell.
 
Upvote 0
right click on you cell and select "Format Cells"
on the alignment tab, change the Horizontal setting to

Distributed (Indent)
 
Upvote 0
Thank you. It almost worked. What it did was put the
This is my text--to the left
2:3 in the center
1 to the right.

I need the "This is my text 2:3" to the left and the "1" to the right.
:)
 
Upvote 0
Could you have

This_is_my_text_2:3 ?

You could then make the underscore colour white
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,248
Messages
6,171,021
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