| Server IP : 121.121.20.254 / Your IP : 216.73.216.59 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files/LibreOffice/help/en-US/text/scalc/guide/ |
Upload File : |
<!DOCTYPE html>
<html lang="en-US" dir="ltr">
<head>
<base href="../../../../">
<noscript><meta http-equiv="refresh" content="0; URL=../../../../en-US/noscript.html"></noscript>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Merge and Unmerge Cells</title>
<link rel="shortcut icon" href="media/navigation/favicon.ico">
<link type="text/css" href="normalize.css" rel="Stylesheet">
<link type="text/css" href="prism.css" rel="Stylesheet">
<link type="text/css" href="default.css" rel="Stylesheet">
<script type="text/javascript" src="polyfills.js"></script><script type="text/javascript" src="languages.js"></script><script type="text/javascript" src="en-US/langnames.js"></script><script type="text/javascript" src="flexsearch.debug.js"></script><script type="text/javascript" src="prism.js"></script><script type="text/javascript" src="help2.js" defer></script><script type="text/javascript" src="a11y-toggle.js" defer></script><script type="text/javascript" src="paginathing.js" defer></script><script type="text/javascript" src="en-US/bookmarks.js" defer></script><script type="text/javascript" src="en-US/contents.js" defer></script><script type="text/javascript" src="help.js" defer></script><meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<body>
<header id="TopLeftHeader"><a class="symbol" href="en-US/text/shared/05/new_help.html"><div></div></a><a class="logo" href="en-US/text/shared/05/new_help.html"><p dir="auto">LibreOffice 24.2 Help</p></a><div class="dropdowns"><div class="modules">
<button type="button" data-a11y-toggle="modules-nav" id="modules" aria-haspopup="true" aria-expanded="false" aria-controls="modules-nav">Module</button><nav id="modules-nav" hidden=""></nav>
</div></div></header><aside class="leftside"><input id="accordion-1" name="accordion-menu" type="checkbox"><label for="accordion-1" dir="auto">Contents</label><div id="Contents" class="contents-treeview"></div></aside><div id="SearchFrame"><div id="Bookmarks">
<input id="search-bar" type="search" class="search" placeholder="Search in bookmarks for chosen module" dir="auto"><div class="nav-container" tabindex="0"><nav class="index" dir="auto"></nav></div>
</div></div>
<div id="DisplayArea" itemprop="softwareHelp" itemscope="true" itemtype="http://schema.org/SoftwareApplication">
<a name="bm_id501632012952361"></a>
<meta itemprop="keywords" content="merge/merging cells">
<meta itemprop="keywords" content="unmerge/unmerging cells">
<meta itemprop="keywords" content="split/splitting cells">
<a name="merge_unmerge_cells"></a>
<h1 id="hd_id8005005" dir="auto">
<a name="table_cellmerge"></a>Merge and Unmerge Cells</h1>
<p id="par_id8049867" class="paragraph" dir="auto">You can select a range of cells, then merge them into a single cell. Conversely, you can take a previously merged cell and divide it back into individual cells.</p>
<div class="note">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/note.svg" alt="note" style="width:40px;height:40px;"></div>
<div class="notetext"><p id="par_id0509200913480176" dir="auto">When you copy cells into a target range containing merged cells, the target range gets unmerged first, then the copied cells are pasted in. If the copied cells are merged cells, they retain their merge state.</p></div>
</div>
<br>
<h2 id="hd_id235602" dir="auto">Merge Cells</h2>
<div class="embedded">
<a name="mergecells_warning"></a>
<div class="warning">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/warning.svg" alt="warning" style="width:40px;height:40px;"></div>
<div class="notetext"><p id="par_id3153718" dir="auto">Merging cells can lead to calculation errors in formulas in the table.</p></div>
</div>
<br>
</div>
<a name="howtoget"></a><div class="howtoget">
<div><p class="howtogetheader" dir="auto"><a name="wie"></a>To access this command...</p></div>
<div class="howtogetbody">
<p id="par_id1272927" class="paragraph" dir="auto">Click and drag to select the cells to be merged then do one of the following:</p>
<p id="par_id221632803290526" class="paragraph" dir="auto">In the Formatting toolbar click:</p>
<div class="embedded">
<a name="symerge_cells"></a>
<div class="icontable">
<div class="iconcell">
<p id="par_id3153996" class="paragraphintable" dir="auto"><img src="media/icon-themes/cmd/sc_mergecells.svg" class="iconimage" alt="Icon Merge Cells" style="width:38px;height:38px" itemprop="icon" itemscope="true" itemtype="http://schema.org/ImageObject"></p>
</div>
<div class="iconcell">
<p id="par_id3150662" class="paragraphintable" dir="auto">Merge Cells</p>
</div>
</div>
</div>
<p id="par_id3154351" class="paragraph" dir="auto">Or, right click the selection to open the context menu and choose <span class="menuitem">Merge Cells</span>.<br>If <span class="menuitem">Unmerge Cells</span> is present instead then the cell selection contains merged cells and cannot be merged further.</p>
<p id="par_id931632803442925" class="paragraph" dir="auto">Or, in the <span class="emph">Properties</span> sidebar mark the <span class="emph">Merge Cells</span> checkbox.</p>
<p id="par_id3154020" class="paragraph" dir="auto">Or, choose <span class="menuitem">Format - Merge and Unmerge Cells - Merge Cells</span></p>
<p id="par_id6424146" class="listitem" dir="auto">Or, choose <span class="menuitem">Format - Merge and Unmerge Cells - Merge and Center Cells</span></p>
<p id="par_id961632012538771" class="listitem" dir="auto">The cells will be merged and the content will be centered in the merged cell.</p>
</div>
</div>
<br>
<div class="embedded">
<a name="mergenotes"></a>
<p id="par_id3149665" class="paragraph" dir="auto">Cells cannot be merged again without first unmerging them.</p>
<div class="note">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/note.svg" alt="note" style="width:40px;height:40px;"></div>
<div class="notetext"><p id="par_id581632979766784" dir="auto">Merging a cell selection that partially includes merged cells is generally possible with <span class="emph">Unmerge Cells</span> followed by <span class="emph">Merge Cells</span>, without altering the initial selection. The result will be largely depend on previous choices when merging cells made with the <span class="emph">Merge Cells Dialog</span> options described below.</p></div>
</div>
<br>
<p id="par_id3148552" class="paragraph" dir="auto">Multiple selection is not supported, that is, the selection must be rectangular.</p>
<p id="par_id211632985508898" class="paragraph" dir="auto">The merged cell receives the name and content of the first cell of the selection.</p>
<p id="par_id271632985709781" class="paragraph" dir="auto">If more than one cell to be merged has content the <span class="emph">Merge Cells</span> dialog opens.</p>
<h4 id="par_id391632360383197" dir="auto">Merge Cells Dialog Options</h4>
<p id="par_id1001240" class="paragraph" dir="auto">Three options are available:</p>
<ul itemprop="Unordered" itemscope="true" itemtype="http://schema.org/ItemList" dir="auto">
<li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/ItemListUnordered" dir="auto">
<p id="par_id3155879" class="listitem" dir="auto"><span class="emph">Move the contents of the hidden cells into the first cell</span>: <span class="avis">The actual contents of the hidden cells are concatenated to the first cell, and hidden cells are emptied; the results of formulas referring to the hidden cells or the first cell will be updated.</span></p>
</li>
<li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/ItemListUnordered" dir="auto">
<p id="par_id3155878" class="listitem" dir="auto"><span class="emph">Keep the contents of the hidden cells</span>: <span class="avis">The contents of the hidden cells are kept; the results of formulas referring to the hidden cells will not change.</span></p>
</li>
<li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/ItemListUnordered" dir="auto">
<p id="par_id3155877" class="listitem" dir="auto"><span class="emph">Empty the contents of the hidden cells</span>: <span class="avis">The contents of the hidden cells are removed; the results of formulas referring to the hidden cells will be updated.</span></p>
</li>
</ul>
</div>
<h2 id="hd_id451368" dir="auto">Unmerge Cells</h2>
<a name="howtoget"></a><div class="howtoget">
<div><p class="howtogetheader" dir="auto"><a name="wie"></a>To access this command...</p></div>
<div class="howtogetbody">
<p id="par_id7116611" class="paragraph" dir="auto">Select the cell to be unmerged, or a selection that includes the cells to be unmerged then do one of the following:</p>
<p id="par_id581632820903635" class="listitem" dir="auto">In the Formatting toolbar, click:</p>
<div class="embedded">
<a name="sysplit_cells"></a>
<div class="icontable">
<div class="iconcell">
<p id="par_id3147270" class="paragraphintable" dir="auto"><img src="media/icon-themes/cmd/sc_splitcell.svg" class="iconimage" alt="Icon Unmerge Cells" style="width:38px;height:38px" itemprop="icon" itemscope="true" itemtype="http://schema.org/ImageObject"></p>
</div>
<div class="iconcell">
<p id="par_id3150616" class="paragraphintable" dir="auto"><span id="swlnappltextswriter0000000405xml_7" class="switchinline"><span hidden="true" id="CALCtextswriter0000000405xml_7" class="CALC">Unmerge Cells</span><span hidden="true" id="defaulttextswriter0000000405xml_7">Split Cells</span></span></p>
</div>
</div>
</div>
<p id="par_id431632277778130" class="paragraph" dir="auto">Or, right click the selection to open the context menu and choose <span class="menuitem">Unmerge Cells</span>.<br>If <span class="menuitem">Merge Cells</span> is present instead then the selection does not contain any merged cells.</p>
<p id="par_id261632277824041" class="paragraph" dir="auto">Or, in the <span class="emph">Properties</span> sidebar clear the <span class="emph">Merge Cells</span> checkbox.</p>
<p id="par_id9493087" class="listitem" dir="auto">Or, choose <span class="menuitem">Format - Merge and Unmerge Cells - Unmerge Cells</span>.</p>
<p id="par_id561632820960500" class="paragraph" dir="auto">Or, toggle <span class="menuitem">Format - Merge and Unmerge Cells - Merge and Center Cells</span></p>
</div>
</div>
<br>
<a name="relatedtopics"></a><div class="relatedtopics">
<p class="related" itemprop="mentions" dir="auto"><a name="related"></a><span class="emph">Related Topics</span>
</p>
<div class="relatedbody" itemprop="mentions">
<div class="embedded"><p class="embedded" dir="auto"><a target="_top" href="en-US/text/shared/01/05100100.html">Merge Cells</a></p></div>
<div class="embedded"><p class="embedded" dir="auto"><a target="_top" href="en-US/text/scalc/01/05060000.html">Merge and Center Cells</a></p></div>
<div class="embedded"><p class="bug" dir="auto">D'oh! You found a bug (text/shared/01/05100200.xhp#unmergecells not found).</p></div>
<div class="embedded"><p class="embedded" dir="auto"><a target="_top" href="en-US/text/scalc/guide/cellreferences.html">Referencing Other Sheets</a>
</p></div>
</div>
</div>
</div>
<div id="DonationFrame"></div>
<footer><div id="DEBUG" class="debug">
<h3 class="bug">Help content debug info:</h3>
<p dir="auto">This page is: <a href="https://opengrok.libreoffice.org/xref/help/source/text/scalc/guide/table_cellmerge.xhp" target="_blank">/text/scalc/guide/table_cellmerge.xhp</a></p>
<p dir="auto">Title is: Merge and Unmerge Cells</p>
<p id="bm_module" dir="auto"></p>
<p id="bm_system" dir="auto"></p>
<p id="bm_HID" dir="auto"></p>
</div></footer>
</body>
</html>