Holarch
Rozdziały kursu

Szkolenia · Ścieżka 14. Arkusze kalkulacyjne · Rozdział 14.2 z 5

14.2 Formaty i układ 3:16

Formatowanie liczb kodami formatu, wyróżnianie komórek według wartości, scalanie tytułu i blokowanie nagłówków.

Pokazuje Holarch 2.35.

Czego się nauczysz

  • Scalanie i wyśrodkowanie tytułu oraz pogrubianie nagłówków
  • Dopasowywanie szerokości kolumn do zawartości
  • Stosowanie formatu procentowego i niestandardowych kodów formatu liczb
  • Wyróżnianie wartości regułą formatowania warunkowego
  • Blokowanie wierszy nagłówka

Sformatuj budżet masy EO-1: scal i wyśrodkuj tytuł nad kolumnami, pogrub nagłówki, dopasuj szerokości kolumn, pokaż rezerwę w procentach, nadaj masom niestandardowy kod formatu dodający jednostkę, wyróżnij najcięższe podsystemy formatowaniem warunkowym i zablokuj tytuł oraz nagłówki, aby pozostawały widoczne.

Pliki projektu

  • Projekt początkowy (.holarch.json; Zarządzaj projektami → Pliki projektu ▾ → Importuj projekt (.json)…)
  • Projekt ukończony (.holarch.json; Zarządzaj projektami → Pliki projektu ▾ → Importuj projekt (.json)…)

Film jest odtwarzany z holarch.app; zobacz Politykę prywatności.

Ćwiczenie

Wykonaj to samodzielnie w Holarch na projekcie CubeSat EO-1.

  1. Otwórz plik początkowy rozdziału lub skoroszyt z rozdziału 14.1 na arkuszu Budżet.
  2. Wpisz EO-1 Mass Budget w A1. Zaznacz A1:E1 i kliknij Scal i wyśrodkuj. Zaznacz A1:E2 w Polu nazwy i kliknij Pogrubienie.
  3. Kliknij dwukrotnie prawą krawędź nagłówków kolumn B, D i E, aby dopasować ich szerokość.
  4. Zaznacz D3:D8 i kliknij Procent. Zaznacz C3:C8, otwórz Formatuj komórki → Niestandardowy i wpisz 0.00" kg". Zrób to samo dla E3:E10, a E11 nadaj kod 0.0%.
  5. Zaznacz E3:E8 i otwórz Formatowanie warunkowe → Reguły wyróżniania komórek → Większe niż; wpisz 2.
  6. Zaznacz A3 i wybierz Zablokuj okienka. Przewiń w dół: wiersze 1 i 2 pozostają widoczne.

Gotowe, gdy masy są podane w kg, zapas jest wyrażony w procentach, podsystemy powyżej 2 kg są wyróżnione, a nagłówki pozostają na miejscu podczas przewijania.

Sprawdź się

  1. Co kod formatu 0.00" kg" robi z wartością 2.5?
  2. Dlaczego zaznaczenie A3 przed Zablokuj okienka utrzymuje wiersze 1 i 2 w widoku?
  3. Czy reguła formatowania warunkowego zmienia wartość komórki?
Pokaż odpowiedzi
  1. Co kod formatu 0.00" kg" robi z wartością 2.5?

    Pokazuje 2.50 kg. Wartość pozostaje liczbą 2.5, więc formuły nadal na niej liczą.

  2. Dlaczego zaznaczenie A3 przed Zablokuj okienka utrzymuje wiersze 1 i 2 w widoku?

    Zablokuj okienka blokuje wiersze powyżej i kolumny na lewo od aktywnej komórki.

  3. Czy reguła formatowania warunkowego zmienia wartość komórki?

    Nie. Zmienia tylko wygląd komórki, dopóki jest spełniony jej warunek.

Więcej informacji

Transkrypcja

Pokaż transkrypcję (narracja i to, co widać na ekranie)

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.