Entering a Return into a Formula

jbrouse

Active Member
Joined
Apr 28, 2005
Messages
329
Greetings,

I have a formula in cell D4 of one worksheet that pulls in the value of 2 other cells from a different worksheet. Currently, I can bring them in using the following formula

=IF(ISBLANK('Sheet1'!E3),"",'Sheet1'!F4&" "&" - "&'Sheet1'!E3)

which will bring it in in the following format

"Text1 - Text2"

I would like to have it come in as

"Text1
Text2"

How can I input a hard return into the formula so that it will place the two texts into separate rows within the cell?

Thanks in advance for any assistance!
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Forum statistics

Threads
1,206,757
Messages
6,074,760
Members
446,084
Latest member
WalmitAal

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