1*cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2*cdf0e10cSrcweir<helpdocument version="1.0">
3*cdf0e10cSrcweir
4*cdf0e10cSrcweir<!--
5*cdf0e10cSrcweir***********************************************************************
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
12*cdf0e10cSrcweir *
13*cdf0e10cSrcweir * This file is part of OpenOffice.org.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
16*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
17*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
18*cdf0e10cSrcweir *
19*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
20*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
21*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
23*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
24*cdf0e10cSrcweir *
25*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
26*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
27*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
28*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
29*cdf0e10cSrcweir *
30*cdf0e10cSrcweir ************************************************************************
31*cdf0e10cSrcweir -->
32*cdf0e10cSrcweir
33*cdf0e10cSrcweir
34*cdf0e10cSrcweir<meta>
35*cdf0e10cSrcweir      <topic id="textscalc01text2columnsxml" indexer="include">
36*cdf0e10cSrcweir         <title xml-lang="en-US" id="tit">Text to Columns</title>
37*cdf0e10cSrcweir         <filename>/text/scalc/01/text2columns.xhp</filename>
38*cdf0e10cSrcweir      </topic>
39*cdf0e10cSrcweir   </meta>
40*cdf0e10cSrcweir   <body>
41*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id8004394"><bookmark_value>text to columns</bookmark_value>
42*cdf0e10cSrcweir</bookmark>
43*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/.uno:TextToColumns" id="bm_id1029200802260951" localize="false"/>
44*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id2300180" role="heading" level="1" l10n="NEW"><link href="text/scalc/01/text2columns.xhp">Text to Columns</link></paragraph>
45*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_id655232" role="paragraph" l10n="NEW"><variable id="text2columns">Opens the Text to Columns dialog, where you enter settings to expand the contents of selected cells to multiple cells.
46*cdf0e10cSrcweir</variable></paragraph>
47*cdf0e10cSrcweir      <section id="howtoget">
48*cdf0e10cSrcweir         <embed href="text/scalc/00/00000412.xhp#text2columns"/>
49*cdf0e10cSrcweir      </section>
50*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="hd_id9599597" role="heading" level="2" l10n="NEW">To expand cell contents to multiple cells</paragraph>
51*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_id2021546" role="paragraph" l10n="NEW">You can expand cells that contain comma separated values (CSV) into multiple cells in the same row. </paragraph>
52*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_id2623981" role="paragraph" l10n="NEW">For example, cell A1 contains the comma separated values <item type="literal">1,2,3,4</item>, and cell A2 contains the text <item type="literal">A,B,C,D</item>. </paragraph>
53*cdf0e10cSrcweir      <list type="ordered">
54*cdf0e10cSrcweir         <listitem>
55*cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id7242042" role="paragraph" l10n="NEW">Select the cell or cells that you want to expand.</paragraph>
56*cdf0e10cSrcweir         </listitem>
57*cdf0e10cSrcweir         <listitem>
58*cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id6999420" role="paragraph" l10n="NEW">Choose <emph>Data - Text to Columns</emph>.</paragraph>
59*cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id6334116" role="paragraph" l10n="NEW">You see the Text to Columns dialog.</paragraph>
60*cdf0e10cSrcweir         </listitem>
61*cdf0e10cSrcweir         <listitem>
62*cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id9276406" role="paragraph" l10n="NEW">Select the separator options. The preview shows how the current cell contents will be transformed into multiple cells.</paragraph>
63*cdf0e10cSrcweir         </listitem>
64*cdf0e10cSrcweir      </list>
65*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_id8523819" role="paragraph" l10n="NEW">You can select a fixed width and then click the ruler on the preview to set cell breakup positions.</paragraph>
66*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_id1517380" role="paragraph" l10n="NEW">You can select or enter separator characters to define the positions of breaking points. The separator characters are removed from the resulting cell contents.</paragraph>
67*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_id7110812" role="paragraph" l10n="CHG">In the example, you select the comma as a delimiter character. Cells A1 and A2 will be expanded to four columns each. A1 contains 1, B1 contains 2, and so on.</paragraph>
68*cdf0e10cSrcweir      <section id="relatedtopics">
69*cdf0e10cSrcweir         <embed href="text/scalc/guide/csv_files.xhp#csv_files"/>
70*cdf0e10cSrcweir         <embed href="text/scalc/guide/csv_formula.xhp#csv_formula"/>
71*cdf0e10cSrcweir      </section>
72*cdf0e10cSrcweir   </body>
73*cdf0e10cSrcweir</helpdocument>