과정의 장
교육 · 트랙 14. 스프레드시트 · 14.2장 (전체 5장)
14.2 서식과 레이아웃 3:16
서식 코드로 숫자 서식을 지정하고, 값에 따라 셀을 강조하고, 제목 셀을 병합하고, 머리글을 고정합니다.
Holarch 2.35 화면입니다.
학습 내용
- 제목을 병합하고 가운데 맞춤한 다음 머리글을 굵게 만들기
- 열 너비를 내용에 맞추기
- 퍼센트와 사용자 지정 표시 형식 코드 적용하기
- 조건부 서식 규칙으로 값 강조하기
- 머리글 행 고정하기
EO-1 질량 예산의 서식을 지정합니다. 열에 걸쳐 제목을 병합하고 가운데 맞춤하고, 머리글을 굵게 만들고, 열 너비를 맞추고, 예비분을 퍼센트로 표시하고, 질량에 단위를 붙이는 사용자 지정 서식 코드를 적용하고, 조건부 서식으로 가장 무거운 서브시스템을 강조하고, 제목과 머리글을 고정해 계속 보이게 합니다.
실습
CubeSat EO-1에서 Holarch로 직접 해 보십시오.
- 이 장의 시작 파일 또는 14.1장의 통합 문서를 열고 Budget 시트로 이동합니다.
- A1에
EO-1 Mass Budget을 입력합니다. A1:E1을 선택하고 병합하고 가운데 맞춤을 클릭합니다. 이름 상자에서 A1:E2를 선택하고 굵게를 클릭합니다. - B, D, E 열 머리글의 오른쪽 가장자리를 두 번 클릭하여 너비를 맞춥니다.
- D3:D8을 선택하고 퍼센트를 클릭합니다. C3:C8을 선택하고 셀 서식 → 사용자 지정을 연 다음
0.00" kg"를 입력합니다. E3:E10에도 똑같이 적용하고, E11에는0.0%코드를 지정합니다. - E3:E8을 선택하고 조건부 서식 → 셀 강조 규칙 → 보다 큼을 연 다음
2를 입력합니다. - A3을 선택하고 틀 고정을 선택합니다. 아래로 스크롤하면 1행과 2행이 계속 보입니다.
질량이 kg 단위로 표시되고, 여유가 백분율로 표시되고, 2kg을 넘는 서브시스템이 강조되고, 스크롤해도 머리글이 고정되어 있으면 완료입니다.
스스로 확인
- 서식 코드 0.00" kg"는 값 2.5에 어떤 작용을 합니까?
- 틀 고정 전에 A3을 선택하면 1행과 2행이 계속 보이는 이유는 무엇입니까?
- 조건부 서식 규칙은 셀의 값을 바꿉니까?
답 보기
서식 코드 0.00" kg"는 값 2.5에 어떤 작용을 합니까?
2.50 kg으로 표시됩니다. 값은 숫자 2.5 그대로이므로 수식은 계속 그 값으로 계산합니다.
틀 고정 전에 A3을 선택하면 1행과 2행이 계속 보이는 이유는 무엇입니까?
틀 고정은 활성 셀 위쪽의 행과 왼쪽의 열을 고정합니다.
조건부 서식 규칙은 셀의 값을 바꿉니까?
아니요. 조건이 충족되는 동안 셀이 보이는 모양만 바꿉니다.
더 읽어 보기
대본
대본 보기 (내레이션과 화면 내용)
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.