Solved

Concatenate into one cell?

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
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 …
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 in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

762 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