Solved

Concatenate into one cell?

Posted on 2013-01-23
5
213 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
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…

792 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