<p>The ability to group rows and columns as well as create an outline allows you to make it easier to work with a spreadsheet that contains a large amount of data. In the <ahref="https://www.onlyoffice.com/spreadsheet-editor.aspx"target="_blank"onclick="onhyperlinkclick(this)"><b>Spreadsheet Editor</b></a>, you can collapse or expand grouped rows and columns to display the necessary data only. It's also possible to create the multi-level structure of grouped rows/columns. When necessary, you can ungroup the previously grouped rows or columns.</p>
<li>click the <imgalt="Group icon"src="../images/groupicon.png"/><b>Group</b> button, then choose the <b>Rows</b> or <b>Columns</b> option in the <b>Group</b> window that appears and click <b>OK</b>,
<li>click the downwards arrow below the <imgalt="Group icon"src="../images/groupicon.png"/><b>Group</b> button and choose the <b>Group rows</b> option from the menu,</li>
<li>click the downwards arrow below the <imgalt="Group icon"src="../images/groupicon.png"/><b>Group</b> button and choose the <b>Group columns</b> option from the menu.</li>
</ul>
</li>
</ol>
<p>The selected rows or columns will be grouped and the created outline will be displayed to the left of the rows or/and above the columns.</p>
<p><imgalt="Grouped rows and columns"src="../images/groupedrows.png"/></p>
<p>To change the outline of grouped rows or columns, you can use options from the <b>Group</b> drop-down menu. The <b>Summary rows below detail</b> and <b>Summary columns to the right of detail</b> options are checked by default. They allow to change the location of the <b>Collapse</b><imgalt="Collapse grouped rows icon"src="../images/collapserowsicon.png"/> and <b>Expand</b><imgalt="Expand collapsed rows icon"src="../images/expandrowsicon.png"/> buttons:</p>
<p>To create a multi-level structure, select a cell range within the previously created group of rows/columns, and group the newly selected range as described above. After that, you can hide and show groups by level using the icons with the level number: <imgalt="Level number icons"src="../images/levelnumbericons.png"/>.</p>
<li>Click the second level <imgalt="Second level icon"src="../images/secondlevelicon.png"/> icon to switch to the level which displays details of the parent group, but hides the nested group data:
<p>It's also possible to use the <imgalt="Collapse grouped rows icon"src="../images/collapserowsicon.png"/><b>Collapse</b> and <imgalt="Expand collapsed rows icon"src="../images/expandrowsicon.png"/><b>Expand</b> icons within the outline to display or hide the data corresponding to a certain level.</p>
<h3>Ungroup previously grouped rows and columns</h3>
<p>To ungroup previously grouped rows or columns:</p>
<ol>
<li>Select the range of grouped cells that you need to ungroup.</li>
<li>
Switch to the <b>Data</b> tab and use one of the necessary options at the top toolbar:
<ul>
<li>click the <imgalt="Ungroup icon"src="../images/ungroupicon.png"/><b>Ungroup</b> button, then choose the <b>Rows</b> or <b>Columns</b> option in the <b>Group</b> window that appears and click <b>OK</b>,
<li>click the downwards arrow below the <imgalt="Group icon"src="../images/ungroupicon.png"/><b>Ungroup</b> button, then choose the <b>Ungroup rows</b> option from the menu to ungroup rows and clear the outline of rows,</li>
<li>click the downwards arrow below the <imgalt="Group icon"src="../images/ungroupicon.png"/><b>Ungroup</b> button and choose the <b>Ungroup columns</b> option from the menu to ungroup columns and clear the outline of columns,</li>
<li>click the downwards arrow below the <imgalt="Group icon"src="../images/ungroupicon.png"/><b>Ungroup</b> button and choose the <b>Clear outline</b> option from the menu to clear the outline of rows and columns without removing existing groups.</li>