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

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Forum statistics

Threads
1,215,493
Messages
6,125,134
Members
449,206
Latest member
burgsrus

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