Solved

Concatenate into one cell?

Posted on 2013-01-23
5
208 Views
Last Modified: 2013-02-07
Hi there, I have a number of zip codes in excel that I need to format to put into a crystal report.

So far, each code has been set up but the values are top to bottom in a column. I need them left to right in one cell.

For example;
They postal codes are in a column
"1234",
"5678",
"9123"

But I need them, "1234","5678","9123" in once cell, not multiple. This way I can just copy the cell contents into my crystal report.

Does anyone have an excel trick for this? Any help would be great, I'm not exactly an excel pro!

Thanks very much,
CS
0
Comment
Question by:rporter45
5 Comments
 
LVL 6

Expert Comment

by:JeffG2583
ID: 38811933
0
 
LVL 26

Accepted Solution

by:
pony10us earned 500 total points
ID: 38811934
Excel 2007 or above?

http://chandoo.org/wp/2010/12/07/merge-cells-without-loosing-data/

Easier than writing a macro like I had to once for 2003.  :)
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 38812710
Can you group them at all?

The only way to do it is a formula that concatenates them together then displays the result in th egroup footer or report footer.

mlmcc
0
 
LVL 34

Expert Comment

by:James0628
ID: 38813726
Are you trying to actually read the Excel file in a report, or do you just want to copy the column of values in Excel and paste them into a CR formula?  You can just copy the whole column and paste it into a formula, but that seems too obvious, so it's probably not what you're looking for.

 James
0
 

Author Closing Comment

by:rporter45
ID: 38865362
My apologies, completely forgot about this question - I was so happy that it worked! Have been able to apply to other coding as well,

Thank you -
Colleen
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

813 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

14 Experts available now in Live!

Get 1:1 Help Now