Utilização da ferramenta Subtotal

Calc offers the Subtotals tool as a more comprehensive alternative to the SUBTOTAL function. In contrast to SUBTOTAL, which only works on a single array, the Subtotals tool can create subtotals for up to three arrays arranged in labeled columns. It also groups subtotals by category and sorts them automatically, thereby eliminating the need to apply AutoFilters and filter categories by hand.

Para aceder a este comando...

Escolha Dados - Subtotal.

Utilização da ferramenta Subtotal

Para inserir o subtotal na folha de trabalho:

  1. Select the cell range for the subtotals that you want to calculate, and remember to include the column heading labels. Alternatively, click on a single cell within your data to allow Calc to automatically identify the range.

  2. Selecione Dados - Subtotal para abrir a caixa de diálogo.

  3. No lista suspensa Agrupar por, no separador Primeiro grupo , selecione a coluna pela etiqueta. As entradas no intervalo de células do passo 1 serão agrupadas e ordenadas por valores existentes nesta coluna.

  4. In the Calculate subtotals for box on the First Group page, select a column containing values to be subtotaled. If you later change values in this column, Calc will automatically recalculate the subtotals.

  5. Na caixa Utilizar função da página Primeiro grupo, selecione a função para calcular o subtotal para a coluna selecionada na etapa 4.

  6. Repita as etapas 4 e 5 para criar o subtotal para as outras colunas da página Primeiro grupo.

  7. You can create two more subtotal categories by using the Second Group and Third Group pages and repeating steps 3 to 6. If you do not want to add more groups, then leave the Group by list for each page set to “- none -”.

  8. Clique em Aceitar. O Calc adiciona as linhas de subtotal e de total geral ao seu intervalo de células.

Esquema de subtotal

When you use the Subtotals tool, Calc inserts an outline to the left of the row number column. This outline represents the hierarchical structure of your subtotals, and can be used to hide or show data at different levels in the hierarchy using the numbered column indicators at the top of the outline or the group indicators, denoted by plus (+) and minus (-) signs.

This feature is useful if you have many subtotals, as you can simply hide low-level details, such as individual entries, to produce a high-level summary of your data.

To turn off outlines, choose Data - Group and Outline - Remove Outline. To reinstate them, choose Data - Group and Outline - AutoOutline.

Necessitamos da sua ajuda!