You are here:

Excel/Multiple rows became just one cell all in one line

Advertisement


Question
Hi Jerry,

If I have a list of names in excel, all in one column from A1 to A1399. I need all this names become one after another in the same line divide by an space or coma.

Example I have:
Maria
Marta
Tatiana
Rachele
Carolina

Change to:
Maria Marta Tatiana Rachele Carolina

Thanks for your time

Answer
I'm not sure Excel will allow that much text in one cell, but you can certainly try.

Values in A1:A1399

In B1 put this formula:  =A1

In B2 put this formula:  =B1 & " " & A2

Copy B2 down through B1399.   THe last cell B1399 will have your full string.

Copy B1399 and do a PASTE SPECIAL > VALUES to copy the string somewhere and out of the formula.

You can now clear column B.
About Excel
This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here

Excel

All Answers


Answers by Expert:


Ask Experts

Volunteer


Jerry Beaucaire

Expertise

Excel Formulas, macros, automation. Microsoft Excel MVP - 2010. Code site with free code snippets and techniques: http://sites.madrocketscientist.com/jerrybeaucaires-excelassistant/files

Experience

Microsoft Excel MVP - 2010. I have my own extensive Excel help/code site: http://sites.madrocketscientist.com/jerrybeaucaires-excelassistant/files ===================== I have been offering free assistance as an Excel aid on many web sites for many years: (http://www.excelforum.com - JBeaucaire) ======== (http://www.askmehelpdesk.com/spreadsheets - JBeaucaire) ======= (http://www.mrexcel.com/forum - jbeaucaire)

Education/Credentials
Bachelor's Degree from Azusa Pacific University in Mathematics and Music Composition

Awards and Honors
Microsoft Excel MVP 2010

©2016 About.com. All rights reserved.