How to add hard line break to formula/cell?

kit99

Active Member
Joined
Mar 17, 2015
Messages
352
Got this formula in my sheet: =LEFT(R3,15).
It return the first 15 characters from cell R3.

Is there a way I can add hard line break to this formula - after character number 8?
What I've found online so far (CHAR) seems to pick data from 2 columns, adding char between them...

My aim is to make my info text at the bottom of my bar graph look nice.
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Change your formula to this one...

=REPLACE(LEFT(R3,15),9,0,CHAR(10))

Don't forget to turn "Wrap Text" on for the cell you put the formula in and also make sure the cell's column width is wide enough to display at least 8 characters minimum.
 
Upvote 0
Change your formula to this one...

=REPLACE(LEFT(R3,15),9,0,CHAR(10))

Don't forget to turn "Wrap Text" on for the cell you put the formula in and also make sure the cell's column width is wide enough to display at least 8 characters minimum.


Thanks a lot for helping out!
That worked fantastic. :)
 
Upvote 0

Forum statistics

Threads
1,215,615
Messages
6,125,854
Members
449,266
Latest member
davinroach

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