64 lines
3.8 KiB
XML
64 lines
3.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<helpdocument version="1.0">
|
|
|
|
<!--
|
|
* This file is part of the LibreOffice project.
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*
|
|
* This file incorporates work covered by the following license notice:
|
|
*
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
* with this work for additional information regarding copyright
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
* except in compliance with the License. You may obtain a copy of
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
-->
|
|
|
|
|
|
<meta>
|
|
<topic id="textscalc01text2columnsxml" indexer="include">
|
|
<title id="tit">Text to Columns</title>
|
|
<filename>/text/scalc/01/text2columns.xhp</filename>
|
|
</topic>
|
|
</meta>
|
|
<body>
|
|
<bookmark branch="index" id="bm_id8004394"><bookmark_value>text to columns</bookmark_value>
|
|
</bookmark>
|
|
<bookmark branch="hid/.uno:TextToColumns" id="bm_id1029200802260951" localize="false"/>
|
|
<bookmark branch="hid/modules/scalc/ui/notebookbar/MenuData-TextToColumns" id="bm_id471704353984412" localize="false"/>
|
|
<section id="t2cheader">
|
|
<h1 id="hd_id2300180"><link href="text/scalc/01/text2columns.xhp">Text to Columns</link></h1>
|
|
<paragraph id="par_id655232" role="paragraph"><variable id="text2columns">Opens the Text to Columns dialog, where you enter settings to expand the contents of selected cells to multiple cells.</variable></paragraph>
|
|
</section>
|
|
<section id="howtoget">
|
|
<embed href="text/scalc/00/00000412.xhp#text2columns"/>
|
|
</section>
|
|
<h2 id="hd_id9599597">To expand cell contents to multiple cells</h2>
|
|
<paragraph id="par_id2021546" role="paragraph">You can expand cells that contain comma separated values (CSV) into multiple cells in the same row. </paragraph>
|
|
<paragraph id="par_id2623981" role="paragraph">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>
|
|
<list type="ordered">
|
|
<listitem>
|
|
<paragraph id="par_id7242042" role="paragraph">Select the cell or cells that you want to expand.</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph id="par_id6999420" role="paragraph">Choose <emph>Data - Text to Columns</emph>.</paragraph>
|
|
<paragraph id="par_id6334116" role="paragraph">You see the Text to Columns dialog.</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph id="par_id9276406" role="paragraph">Select the separator options. The preview shows how the current cell contents will be transformed into multiple cells.</paragraph>
|
|
</listitem>
|
|
</list>
|
|
<paragraph id="par_id8523819" role="paragraph">You can select a fixed width and then click the ruler on the preview to set cell breakup positions.</paragraph>
|
|
<paragraph id="par_id1517380" role="paragraph">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>
|
|
<paragraph id="par_id7110812" role="paragraph">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>
|
|
<section id="relatedtopics">
|
|
<embed href="text/scalc/guide/csv_files.xhp#csv_files"/>
|
|
<embed href="text/scalc/guide/csv_formula.xhp#csv_formula"/>
|
|
</section>
|
|
</body>
|
|
</helpdocument>
|