Capítulos do curso
Treinamento · Trilha 14. Planilhas · Capítulo 14.1 de 5
14.1 Planilhas, dados e fórmulas 4:16
Crie uma planilha, dê nomes e cores às suas abas, insira dados e escreva fórmulas com a barra de fórmulas, a Caixa de Nome e o preenchimento automático.
Mostra o Holarch 2.35.
O que você vai aprender
- Criar uma planilha em um projeto e encontrar a barra de ferramentas, a Caixa de Nome, a barra de fórmulas e as abas
- Renomear, colorir e adicionar abas
- Inserir valores e escrever fórmulas na barra de fórmulas
- Selecionar intervalos com a Caixa de Nome e copiar uma fórmula com Preencher para baixo
- Completar nomes de funções com o preenchimento automático e fazer referência a outra aba
Comece o orçamento de massa do projeto de demonstração CubeSat EO-1 em uma nova planilha: renomeie uma aba clicando duas vezes nela e dê a ela uma cor, adicione uma segunda aba, digite cabeçalhos e valores nas células, escreva uma fórmula na barra de fórmulas, selecione um intervalo na Caixa de Nome e preencha a fórmula para baixo, deixe o preenchimento automático de fórmulas completar SUM e faça referência a uma célula de outra aba.
Arquivos de projeto
- 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.
- Abra Arquivos de projeto → Novo projeto de demonstração e escolha o CubeSat. Abra Planejar → Planilhas, clique em Nova planilha e dê o nome
EO-1 Mass Budget. - Clique duas vezes na aba Aba1, digite
Budgete pressione Inserir. Clique com o botão direito na aba e escolha uma cor. - Clique em + ao lado das abas, dê à nova aba o nome
Assumptions, digiteMass allocation (kg)em A1 e12em B1. - Em Orçamento, digite os cabeçalhos
No.,Subsystem,Mass,Contingency,With contingencyem A2:E2 e seis subsistemas com suas massas e contingências nas linhas 3 a 8. - Em E3, digite
=C3*(1+D3)na barra de fórmulas. DigiteE3:E8na Caixa de Nome, pressione Inserir e escolha Preenchimento → Preencher para baixo. - Em E9, digite
=SU, escolha SUM na lista e completeE3:E8). Em E10 digite=Assumptions!B1, e em E11=(E10-E9)/E10.
Você terminou quando E9 mostrar o total com contingência, E10 mostrar 12 vindo da aba Assumptions e E11 mostrar a margem.
Teste-se
- Onde você vê a fórmula de uma célula que mostra um resultado?
- Como copiar a fórmula de E3 para E4:E8 com as referências ajustadas?
- Como uma fórmula lê uma célula em outra aba?
Mostrar as respostas
Onde você vê a fórmula de uma célula que mostra um resultado?
Na barra de fórmulas, acima da grade, quando a célula está selecionada.
Como copiar a fórmula de E3 para E4:E8 com as referências ajustadas?
Selecione E3:E8 (por exemplo, digitando-o na Caixa de Nome) e escolha Preenchimento → Preencher para baixo.
Como uma fórmula lê uma célula em outra aba?
Com o nome da aba, um ponto de exclamação e a célula, como =Assumptions!B1.
Saiba mais
Transcrição
Mostrar a transcrição (narração e o que aparece na tela)
Introduction
Welcome to the spreadsheet track. A Holarch spreadsheet is an Excel-style workbook inside a project, calculated in Excel's formula language, right next to the model. Across five chapters you build one workbook: the mass budget of the CubeSat EO-1.
In this chapter you create the workbook, set up its sheets, enter the budget and write its first formulas.
A new spreadsheet
We work in the CubeSat EO-1 demo project. To make your own copy, open Project Files, then New Demo Project, and choose the CubeSat. Its model already holds the mass of every component.
On screen: The CubeSat EO-1 demo project: Home.
Open Plan, then Spreadsheets, and click New Spreadsheet. Name it EO-1 Mass Budget.
On screen: Plan → Spreadsheets → + New Spreadsheet → EO-1 Mass Budget.
The editor opens. The toolbar is at the top. Below it are the Name Box, which shows the active cell, and the formula bar, which shows what the cell holds. The sheet tabs are at the bottom.
On screen: The editor: toolbar, Name Box, formula bar, grid, sheet tabs.
Sheets and tabs
Double-click the tab of Sheet1 to rename it. Type Budget, and press Enter.
On screen: Double-click Sheet1 → Budget ↵.
Right-click the tab for its menu: insert, rename, move, hide or delete a sheet, and choose a tab color. Choose Blue.
On screen: Right-click Budget → Tab Color: Blue.
The plus beside the tabs adds a sheet. Add one, and name it Assumptions. It will hold the inputs the budget uses.
On screen: + → double-click Sheet2 → Assumptions ↵.
Entering data
Type the first input. Double-click A1, type Mass allocation in kilograms, and press Enter. In B1, type twelve.
On screen: A1: Mass allocation (kg); B1: 12.
Back on the Budget sheet, type the column headings in row two: number, subsystem, mass, contingency, and mass with contingency. Enter confirms each entry.
On screen: Budget: A2 No., B2 Subsystem, C2 Mass, D2 Contingency, E2 With contingency.
Then the first subsystem: one point one, Payload Camera, an estimate of two point five kilograms, and a contingency of ten percent, typed as zero point one.
On screen: Row 3: 1.1, Payload Camera, 2.5, 0.1.
The other five subsystems are entered the same way.
On screen: Card while rows 4 to 8 are filled.
Formulas
Now a formula. Select E3, click the formula bar, and type equals C3 times, in brackets, one plus D3. Press Enter. The cell shows the result, and the formula bar keeps the formula.
On screen: E3 → formula bar: =C3*(1+D3) ↵.
The Name Box also selects. Type E3 colon E8, and press Enter. Then open Fill, and choose Fill Down: the formula is copied to every row, with its references adjusted.
On screen: Name Box E3:E8 ↵ → Fill ▾ → Fill Down.
In row nine, the total. Type Total in B9. In E9, start typing equals S U. Autocomplete lists the functions that match, with what each one does.
On screen: B9 Total; E9 =SU: the function list.
Click SUM. Holarch writes the name and the bracket, and the hint shows the arguments. Type E3 colon E8, close the bracket, and press Enter.
On screen: SUM → E3:E8) ↵.
Formulas can use other sheets. Type Allocation in B10, and in E10, equals Assumptions, exclamation mark, B1.
On screen: B10 Allocation; E10 =Assumptions!B1 ↵.
Last, the margin: what is left of the allocation, as a fraction of it. Type Margin in B11, and in E11, equals, in brackets, E10 minus E9, divided by E10.
On screen: B11 Margin; E11 =(E10-E9)/E10 ↵.
Every edit is one undo step, and the spreadsheet is saved with the project, as an item with its own history.
On screen: The budget so far.
Recap
To recap: rename tabs by double-clicking, color them from their menu, type in cells, write formulas in the formula bar, select ranges in the Name Box, and let autocomplete finish function names.
In the next chapter, you format the budget and lay it out.