Solved

Copy data from three cells into one divided by line break

Posted on 2011-03-17
3
225 Views
Last Modified: 2012-05-11
Hi,

I want to copy text from three cells (e.g A1, B1 and C1) into D1.
Each text string should be divided by line break.

For example
A1: 1
B1: 2
C1: 3
should be shown as
1
2
3
inside the cell D1

I tried the formula =A1 & CHAR(10) & B1 & CHAR(10) & C1 but that didnt do the trick.
Any suggestions?
0
Comment
Question by:nebb-sbt
  • 2
3 Comments
 
LVL 24

Accepted Solution

by:
jimyX earned 250 total points
ID: 35154386
You have to format the cell to wrap text first.
0
 
LVL 24

Expert Comment

by:jimyX
ID: 35154394
For cell D1 right click then go to Alignment tab -> Text Control make sure to select Wrap text.
0
 

Author Comment

by:nebb-sbt
ID: 35154397
doh, thanks :)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now