Extra line that equals

MrDB4Excel

Active Member
Joined
Jan 29, 2004
Messages
334
Office Version
  1. 2013
Platform
  1. Windows
I have a cell that I want to have an extra line (you know, created with the "alt" "enter" combo) that equals another cell in the same sheet. Is this possible and if so how?
Thank you so much for any help offered.:oops:
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Hi

For ex., in B1:

="Second line is A1" & char(10) & A1

This will reproduce in the second line in B1 the value in A1.

Don't forget to format the cell with word wrap
 
Upvote 0
What is the "& char(10)" part for? I put this whole string what you sent in your reply, changed the A1 to the cell I want it to look to and it did not work, what am I missing?
Here is what I have in the cell.
Projected Pension USD from SSB in Safe Haven Converted to CZK
="Second line is I3" & char(10) & I3
I3 is text only and it says "Two months SSB Pension: April & May"
 
Upvote 0
No, that was the first thing I checked, not to mention most of the time I use this as default because of the nature of the input
 
Upvote 0
Is this second line input supposed to actually be on a second line as result of the alt enter to get to the second line and therefore the "="Second line is I3" & char(10) & I3" would be the only data on second line?
 
Upvote 0
No, that was the first thing I checked, not to mention most of the time I use this as default because of the nature of the input
Try making the row containing the formula taller (I think the text is there, but below the current bottom of the cell.
 
Upvote 0

Hope you can see this image, I made the row height a huge number and still nothing. Something must be wrong with formula maybe?:oops:
 
Upvote 0
Hi

Sorry, I don't know why it's not working.

The only thing that I can think of is that you'd have a mac, in that case the line separator would be CHAR(13) instead of CHAR(10), but since you say that you use Alt-Enter to enter the line separators that is probably not the case.
 
Upvote 0

Forum statistics

Threads
1,214,570
Messages
6,120,294
Members
448,953
Latest member
Dutchie_1

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