Wednesday, December 03, 2008   
  Search   
 
Register  Login  
Forums  
     Minimize  

Welcome to MeraWindows forums.

Thank you for being at the Microsoft Windows Community Site. You may have to register before posting in forums. It's absolutely free. After registering, you can get all the benefits available to our registered members, you can access our Downloads section, you can participate in contests, etc. You can post in forums in English as well as in Hindi, in fact we encourage you to use Hindi in your posts. If you have any problem with registration or login, please contact us.

     
  


 
  Microsoft Windows Forums  Microsoft Offic...  Microsoft Excel  Concatenate data in different lines of the same cell
Previous Previous
 
Next Next
New Post 10/12/2007 5:56 AM
User is offline Ashish Mathur
89 posts
www.ashishmathur.com
Member




Concatenate data in different lines of the same cell 

Hi,

Data can be depicted in different lines of a cell by using Alt+Enter.  A lot of people have the doubt of how to segregate data (in diferent columns) which has been entered in a cell through Alt+Enter.  The trick here is to

1. Goto "Text to columns", 
2. Select delimited;
3. Uncheck "tab" and check "Other";
4. Now enter Alt+010 (through the numeric keypad)
5. Click Next

You will notice that the output will now be divided in 2 seperate columns.

Interestingly, some one asked me just the reverse question i.e. if data is in 2 columns, then how can it be aggregated in different lines of one cell.

The trick here is to use the CHAR(10) function.  For example, if you have A in cell A1 and B in cell B1, then in cell C1, enter =A1&char(10)&B1.  Now wrap text the cell C1 (Format cells > Alignment tab).  You will notice that C1 will have A and B in different lines.

 


For Microsoft Excel trainings in India, please visit http://ashishmathur.com/training.aspx

Regards,

Ashish Mathur - View Ashish Mathur's profile on LinkedIn
Microsoft Excel MVP
www.ashishmathur.com

 
New Post 10/12/2007 1:03 PM
User is offline Vishal Gupta
6366 posts
www.AskVG.com
Ultimate Member








Re: Concatenate data in different lines of the same cell 

Nice. Thanks for the tip.


Tweaking with Vishal

How to Use Smiley Code in Forum?
Promote MeraWindows at Your Blog / Site
Read Forum Guidelines
 
Previous Previous
 
Next Next
  Microsoft Windows Forums  Microsoft Offic...  Microsoft Excel  Concatenate data in different lines of the same cell


   Get Your Own E-Mail Account @MeraWindows.com Minimize  
New Page 1 New Page 1
Show your cool quotient with @merawindows.com email account