Holarch
Capítulos do curso

Treinamento · Trilha 14. Planilhas · Capítulo 14.2 de 5

14.2 Formatos e layout 3:16

Formate números com códigos de formato, realce células pelo valor, mescle um título e congele os cabeçalhos.

Mostra o Holarch 2.35.

O que você vai aprender

  • Mesclar e centralizar um título e colocar os cabeçalhos em negrito
  • Ajustar a largura das colunas ao conteúdo
  • Aplicar códigos de formato de número de porcentagem e personalizados
  • Realçar valores com uma regra de formatação condicional
  • Congelar as linhas de cabeçalho

Formate o orçamento de massa do EO-1: mescle e centralize um título sobre as colunas, coloque os cabeçalhos em negrito, ajuste a largura das colunas, mostre a contingência como porcentagens, dê às massas um código de formato personalizado que acrescenta a unidade, realce os subsistemas mais pesados com um formato condicional e congele o título e os cabeçalhos para que continuem visíveis.

Arquivos de projeto

  • Projeto inicial (.holarch.json; Gerenciar projetos → Arquivos de projeto ▾ → Importar projeto (.json)…)
  • Projeto concluído (.holarch.json; Gerenciar projetos → Arquivos de projeto ▾ → Importar projeto (.json)…)

O vídeo é reproduzido a partir de holarch.app; veja a Política de Privacidade.

Prática

Faça isto você mesmo no Holarch, no CubeSat EO-1.

  1. Abra o arquivo inicial do capítulo ou a pasta de trabalho do capítulo 14.1, na aba Orçamento.
  2. Digite EO-1 Mass Budget em A1. Selecione A1:E1 e clique em Mesclar e centralizar. Selecione A1:E2 na Caixa de Nome e clique em Negrito.
  3. Clique duas vezes na borda direita dos cabeçalhos das colunas B, D e E para ajustá-las.
  4. Selecione D3:D8 e clique em Porcentagem. Selecione C3:C8, abra Formatar células → Personalizado e digite 0.00" kg". Faça o mesmo em E3:E10 e dê a E11 o código 0.0%.
  5. Selecione E3:E8 e abra Formatação condicional → Regras de realce das células → Maior que; digite 2.
  6. Selecione A3 e escolha Congelar painéis. Role para baixo: as linhas 1 e 2 continuam visíveis.

Você terminou quando as massas aparecerem em kg, a margem aparecer como porcentagem, os subsistemas acima de 2 kg estiverem realçados e os cabeçalhos ficarem fixos ao rolar.

Teste-se

  1. O que o código de formato 0.00" kg" faz com o valor 2.5?
  2. Por que selecionar A3 antes de Congelar painéis mantém as linhas 1 e 2 visíveis?
  3. Uma regra de formatação condicional altera o valor da célula?
Mostrar as respostas
  1. O que o código de formato 0.00" kg" faz com o valor 2.5?

    Ele mostra 2.50 kg. O valor continua sendo o número 2.5, então as fórmulas continuam calculando com ele.

  2. Por que selecionar A3 antes de Congelar painéis mantém as linhas 1 e 2 visíveis?

    Congelar painéis congela as linhas acima e as colunas à esquerda da célula ativa.

  3. Uma regra de formatação condicional altera o valor da célula?

    Não. Ela muda apenas a aparência da célula enquanto sua condição for verdadeira.

Saiba mais

Transcrição

Mostrar a transcrição (narração e o que aparece na tela)

Introduction

Chapter two: formats and layout. A format changes how a value looks, never the value itself, so formulas keep calculating with the full number.

In this chapter you make the budget easy to read.

Title and headings

Give the sheet a title. In A1, type EO-1 Mass Budget.

On screen: A1: EO-1 Mass Budget.

Select A1 to E1 in the Name Box. Open Merge, and choose Merge and Center: the five cells become one, with the title in the middle.

On screen: Name Box A1:E1 → Merge ▾ → Merge & Center.

Make the title and the headings bold: select them, and click Bold, or press Command B.

On screen: Name Box A1:E2 → Bold.

The subsystem names are wider than their column. Double-click the right edge of column B's heading, and the column fits its longest entry. Do the same for D and E.

On screen: Double-click the header borders of B, D and E: the columns fit.

Number formats

Now the numbers. Select the contingencies, D3 to D8, and click Percent. Zero point one shows as ten percent.

On screen: Name Box D3:D8 → %.

Select the masses, C3 to C8, and open Number Format. The menu lists the common formats, with a sample of each. Choose More Number Formats.

On screen: Name Box C3:C8 → Number Format ▾ → More Number Formats….

Format Cells shows the format as a code. Choose Custom, and type zero point zero zero, then a space and k g, in quotes. Text in quotes is shown as it is, so each mass reads in kilograms. The sample shows the result. Click OK.

On screen: Category: Custom; code 0.00 " kg" → sample → OK.

The masses with contingency get the same code. Select E3 to E10, open More Number Formats again, choose Custom, and type the code.

On screen: Name Box E3:E10 → More Number Formats… → Custom → 0.00 " kg" → OK.

The margin is a fraction. Select E11, and give it the code zero point zero percent: a percentage with one decimal.

On screen: E11 → More Number Formats… → Custom → 0.0% → OK.

Conditional formatting

Conditional formatting colors cells by their values. Select E3 to E8, open Conditional Formatting, then Highlight Cells Rules, and choose Greater Than.

On screen: Name Box E3:E8 → Conditional Formatting ▾ → Highlight Cells Rules ▸ → Greater Than….

Type two, keep the red fill, and click OK. The two heaviest subsystems stand out, and the color follows the values when they change.

On screen: Value 2 → OK: Payload Camera and Structure and Thermal turn red.

Freeze panes

Last, freeze panes keep the title and headings in view while you scroll. Select A3, open Freeze, and choose Freeze Panes: everything above the active cell stays put.

On screen: A3 → Freeze ▾ → Freeze Panes.

Scroll the sheet down. The rows move under the frozen title and headings.

On screen: Scroll down, then back up.

Recap

To recap: merge and center a title, fit columns by double-clicking their edge, choose formats from the menu or write a format code, color cells with a rule, and freeze the headings.

In the next chapter, you turn the budget into a table, find and replace text, and save views.