#1   Report Post  
JJ
 
Posts: n/a
Default Alt Enter in a cell

Is there a way to account for a line space (alt enter) in an excel formula?
For instance if there are three cells (ie...address, city, and state), is it
possible to concatenate them, but after the address the function inserts an
alt enter so it moves down a line space and then have the city and state
under the address all in one cell? So basically is there a way to tell a
formula that it needs to alt enter without having to do it manually?
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=A1&CHAR(10)&B1&CHAR(10)&C1

and make sure wrap text is set

--

HTH

RP
(remove nothere from the email address if mailing direct)


"JJ" wrote in message
...
Is there a way to account for a line space (alt enter) in an excel

formula?
For instance if there are three cells (ie...address, city, and state), is

it
possible to concatenate them, but after the address the function inserts

an
alt enter so it moves down a line space and then have the city and state
under the address all in one cell? So basically is there a way to tell a
formula that it needs to alt enter without having to do it manually?



  #3   Report Post  
Max
 
Posts: n/a
Default

Assuming cols A to C contain the text to be concat,
from row1 down

With col D formatted to wrap text (this is required):
Put in D1: =A1&CHAR(10)&B1&CHAR(10)&C1
Copy D1 down
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"JJ" wrote in message
...
Is there a way to account for a line space (alt enter) in an excel

formula?
For instance if there are three cells (ie...address, city, and state), is

it
possible to concatenate them, but after the address the function inserts

an
alt enter so it moves down a line space and then have the city and state
under the address all in one cell? So basically is there a way to tell a
formula that it needs to alt enter without having to do it manually?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Formatting Deb Excel Discussion (Misc queries) 7 March 6th 05 03:37 PM
enter value in a cell from a combo box Aniuska Excel Discussion (Misc queries) 2 February 7th 05 11:12 PM
How do i enter a note in excel to an unlocked cell on a protected. Kev Excel Discussion (Misc queries) 1 January 17th 05 11:17 PM
Enter every nth cell item sdm Excel Discussion (Misc queries) 4 December 26th 04 09:29 AM
Can you enter a formula in a cell that auto-inputs calculations a. proactive Excel Worksheet Functions 4 November 9th 04 05:00 AM


All times are GMT +1. The time now is 10:48 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"