1<?xml version="1.0" encoding="UTF-8"?>
2<helpdocument version="1.0">
3
4<!--
5***********************************************************************
6 *
7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8 *
9 * Copyright 2000, 2010 Oracle and/or its affiliates.
10 *
11 * OpenOffice.org - a multi-platform office productivity suite
12 *
13 * This file is part of OpenOffice.org.
14 *
15 * OpenOffice.org is free software: you can redistribute it and/or modify
16 * it under the terms of the GNU Lesser General Public License version 3
17 * only, as published by the Free Software Foundation.
18 *
19 * OpenOffice.org is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 * GNU Lesser General Public License version 3 for more details
23 * (a copy is included in the LICENSE file that accompanied this code).
24 *
25 * You should have received a copy of the GNU Lesser General Public License
26 * version 3 along with OpenOffice.org.  If not, see
27 * <http://www.openoffice.org/license.html>
28 * for a copy of the LGPLv3 License.
29 *
30 ************************************************************************
31 -->
32
33
34<meta>
35      <topic id="textscalc01text2columnsxml" indexer="include">
36         <title xml-lang="en-US" id="tit">Text to Columns</title>
37         <filename>/text/scalc/01/text2columns.xhp</filename>
38      </topic>
39   </meta>
40   <body>
41<bookmark xml-lang="en-US" branch="index" id="bm_id8004394"><bookmark_value>text to columns</bookmark_value>
42</bookmark>
43<bookmark xml-lang="en-US" branch="hid/.uno:TextToColumns" id="bm_id1029200802260951" localize="false"/>
44<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      <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</variable></paragraph>
47      <section id="howtoget">
48         <embed href="text/scalc/00/00000412.xhp#text2columns"/>
49      </section>
50      <paragraph xml-lang="en-US" id="hd_id9599597" role="heading" level="2" l10n="NEW">To expand cell contents to multiple cells</paragraph>
51      <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      <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      <list type="ordered">
54         <listitem>
55            <paragraph xml-lang="en-US" id="par_id7242042" role="paragraph" l10n="NEW">Select the cell or cells that you want to expand.</paragraph>
56         </listitem>
57         <listitem>
58            <paragraph xml-lang="en-US" id="par_id6999420" role="paragraph" l10n="NEW">Choose <emph>Data - Text to Columns</emph>.</paragraph>
59            <paragraph xml-lang="en-US" id="par_id6334116" role="paragraph" l10n="NEW">You see the Text to Columns dialog.</paragraph>
60         </listitem>
61         <listitem>
62            <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         </listitem>
64      </list>
65      <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      <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      <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      <section id="relatedtopics">
69         <embed href="text/scalc/guide/csv_files.xhp#csv_files"/>
70         <embed href="text/scalc/guide/csv_formula.xhp#csv_formula"/>
71      </section>
72   </body>
73</helpdocument>