Solved

Concatenate into one cell?

Posted on 2013-01-23
5
222 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 35

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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

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 …
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.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

730 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