Microsoft Excel 2024 Comprehensive Course — Beginner to Intermediate
X
Excel 2024 Microsoft 365
📗 34 Modules Foundations Data Entry Formatting Formulas Functions Charts Pivot Tables Data Analysis Protection Automation

🔠 Module 6: Text Formatting & the Mini Toolbar

Raw data in a spreadsheet is just numbers and text. Formatting transforms that raw data into a professional, readable document that communicates clearly. This module covers every text formatting tool in Excel — from the most basic font change to rich alignment, indenting, text rotation, and the powerful Format Painter. You will also learn to use the Mini Toolbar for rapid on-the-spot formatting without touching the Ribbon.

6.1 Where to Find Formatting Tools

Text formatting tools in Excel appear in four places. Knowing where each lives saves time:

LocationHow to AccessBest For
Home Tab → Font Group Click the Home tab → look at the Font group (second group from the left) Most text formatting — font, size, bold, italic, underline, colour, borders, fill colour
Home Tab → Alignment Group Home tab → Alignment group (third from left) Cell alignment, text wrapping, merging, indenting, text angle
Mini Toolbar Right-click a cell or selected range → appears above the context menu Quick formatting without moving to the Ribbon — especially useful during data entry
Format Cells Dialog Ctrl+1 — or — right-click → Format Cells — or — click the small dialog launcher ↗ arrow at the bottom-right of the Font group Full, precise formatting control — all options in one place including advanced borders, patterns, and protection

6.2 Font Formatting

Font formatting controls the appearance of text inside cells. Select the cell(s) or the text within a cell before applying any font formatting.

Font Face (Typeface)

  1. Select the cell(s)
  2. Home → Font group → click the Font name dropdown (shows the current font, e.g., "Calibri")
  3. Scroll through the list or type the font name to search → click the desired font
  4. Hovering over a font name previews it on the selected cells in real time (Live Preview)
SA Corporate Font Recommendations:
  • Arial — clean, universally available, excellent for spreadsheets and reports
  • Calibri — Excel's default, modern and highly readable on screen
  • Verdana — wide letterforms, very legible at small sizes
  • Century Gothic — popular in SA corporate branding, elegant and modern
  • Avoid decorative fonts (Script, Comic Sans) in business spreadsheets

Font Size

  1. Select cell(s) → Home → Font → Font Size box (next to the font name)
  2. Click the dropdown to choose a preset size (8, 9, 10, 11, 12, 14, 16, 18, 20, 24, 28, 36, 48, 72) → or type any size directly (e.g., 13) and press Enter
  3. Keyboard shortcuts to change size:
    • Alt+H, F, S → activates the font size box for keyboard entry
    • Increase Font Size: Ctrl+Shift+> (increases by one step)
    • Decrease Font Size: Ctrl+Shift+< (decreases by one step)

Bold, Italic, Underline

FormattingRibbon ButtonKeyboard ShortcutUse For
BoldB in Font groupCtrl+BColumn headers, row totals, key values that need emphasis
ItalicI in Font groupCtrl+INotes, annotations, placeholder instructions, foreign terms
UnderlineU in Font groupCtrl+UTotal rows, grand totals — accounting convention uses double underline for final totals
Double UnderlineU dropdown ▼ → Double UnderlineCtrl+Shift+DGrand totals in financial reports — the accounting standard for final figures

These are toggles — press the shortcut or button once to apply, press again to remove. A cell can have bold AND italic AND underline simultaneously.

Strikethrough

  • Keyboard: Ctrl+5 — toggles strikethrough (the number 5, not F5)
  • Ribbon: not directly visible — accessible via Format Cells dialog (Ctrl+1) → Font tab → tick Strikethrough
  • Use for: completed tasks in a checklist, discontinued items, corrected entries that should remain visible

Superscript and Subscript

  • Not available from the Ribbon directly — go to Format Cells (Ctrl+1) → Font tab → tick Superscript or Subscript
  • Superscript: text raised above the baseline — e.g., m², 10³, km²
  • Subscript: text lowered below the baseline — e.g., H₂O, CO₂
  • Can only be applied to selected characters within a cell (enter Edit Mode first, select the characters, then apply)

6.3 Font Colour & Fill (Background) Colour

Font Colour (Text Colour)

  1. Select cell(s)
  2. Home → Font group → click the A with a coloured bar beneath it (Font Color button)
  3. Click the coloured bar directly to apply the current colour instantly
  4. Click the dropdown arrow ▼ next to the A to open the full colour picker:
    • Theme Colors — 60 colours from the document theme, consistent with charts and styles
    • Standard Colors — 10 preset colours
    • More Colors… — opens a full colour picker where you can enter custom hex codes (e.g., #1A4D1A for dark green)

Fill Colour (Cell Background)

  1. Select cell(s)
  2. Home → Font group → click the paint bucket icon with a coloured bar (Fill Color)
  3. Click the coloured bar directly to apply the current fill colour instantly
  4. Click the dropdown ▼ to open the colour picker → select the colour
  5. To remove fill colour: dropdown → No Fill

Using Colours Effectively in Spreadsheets

Colour UseConvention
Header rowsDark background (navy, dark green, dark grey) with white bold text — high contrast for easy reading
Alternating row shadingVery light grey or light blue for every other row — helps the eye track across a wide table. Apply via Table Styles (Module 9) for automatic application.
Total rowsLight coloured fill (same as header but lighter) with bold text to visually separate totals from data
Input cellsYellow or light blue fill indicates a cell where the user should enter data — widely used in financial models and forms
Warning / ErrorRed or orange fill with white text signals an error, overdue item, or value outside acceptable range
Colour coding categoriesDifferent departments, products, or regions can each have a distinct colour for quick visual identification
Accessibility Note: Approximately 8% of men have some form of colour vision deficiency (red-green being the most common). Do not rely on colour alone to convey information — always use text labels, icons, or patterns in addition to colour coding so your spreadsheet is readable by everyone.

6.4 The Mini Toolbar

The Mini Toolbar is a compact floating toolbar that appears automatically when you right-click a cell or select text inside a cell. It contains the most commonly used formatting commands in a small, context-aware panel — right where you are working, without needing to move your eyes or mouse to the Ribbon.

How to Access the Mini Toolbar

  • Right-click any cell or selected range — the Mini Toolbar appears above the context menu
  • Select text inside a cell (enter Edit Mode with F2, then select characters) — the Mini Toolbar fades in above the selection
  • If the Mini Toolbar fades away, slowly move the mouse toward it to make it reappear

Mini Toolbar Contents

┌──────────────────────────────────────────┐
│ Calibri ▼  11 ▼  [A]  [A]  | B  I  | ╶ ╴  | %  ,  │
│ ▦  [A▼]  [▦▼]  | ≡  ≠=  | →|  |←  | +  -  │
└──────────────────────────────────────────┘

The Mini Toolbar typically contains:

  • Font name dropdown and Font size dropdown
  • Increase/Decrease Font Size buttons
  • Bold (B), Italic (I)
  • Font Color (A with colour bar) and Fill Color (paint bucket)
  • Borders dropdown
  • Alignment buttons (left, centre)
  • Indent (increase/decrease)
  • Percentage and comma number format (context-sensitive)
  • Insert and Delete cell shortcut buttons

Enabling / Disabling the Mini Toolbar

  • File → Options → General → under "User Interface options" → tick or untick "Show Mini Toolbar on selection"
  • Most users prefer it enabled — it saves significant mouse travel for frequent formatting tasks

6.5 Format Cells Dialog — Full Formatting Control

The Format Cells dialog gives you access to every formatting option in Excel in one place. Open it with Ctrl+1 from any selected cell(s).

The Six Tabs of the Format Cells Dialog

TabWhat It Controls
Number How the cell's numeric value is displayed: General, Number, Currency, Accounting, Date, Time, Percentage, Fraction, Scientific, Text, Special, Custom. (Covered in Module 7)
Alignment Horizontal alignment (left, centre, right, fill, justify, centre across selection); Vertical alignment (top, middle, bottom); Text control (Wrap Text, Shrink to Fit, Merge Cells); Text orientation (rotate by degrees); Right-to-left direction
Font Font name, style (Regular, Bold, Italic, Bold Italic), size, underline type, colour, effects (Strikethrough, Superscript, Subscript), preview panel
Border Line style (none through thick, dashed, dotted, double), line colour, and where to apply borders (outline, inside, individual edges). Full border preview. (Covered in Module 7)
Fill Background colour, pattern colour, pattern style (diagonal lines, dots, cross-hatch, etc.), fill effects (gradient fills)
Protection Lock (prevents editing when sheet is protected) and Hidden (hides the formula in the formula bar when the sheet is protected). Both settings take effect only when the sheet is protected via Review → Protect Sheet. (Covered in Module 27)

6.6 Text Alignment

Alignment controls where text or numbers are positioned within the cell. Well-applied alignment is a key part of making spreadsheets readable.

Horizontal Alignment

AlignmentShortcutBest For
Align LeftCtrl+LText labels — names, descriptions, categories. Default for text entries.
CentreCtrl+EColumn headers in a table, short labels, codes, grades, Yes/No values
Align RightCtrl+RNumbers — always right-align numbers so decimal points and column positions line up vertically for easy comparison
JustifyFormat Cells → AlignmentLong text blocks that should stretch to fill the full column width on each line
Centre Across SelectionFormat Cells → Alignment → Horizontal → Centre Across SelectionCentering a title across multiple columns without merging cells — safer alternative to Merge & Center because it preserves individual cells

Vertical Alignment

AlignmentWhen to Use
TopWhen rows are tall and you want text anchored at the top of the cell
Middle (default)Most header rows — text sits in the vertical centre of the cell height
BottomDefault for most cells — text sits at the bottom of the cell

Home → Alignment group contains the three vertical alignment buttons (⏐▬▲, ⏐▬▬, ⏐▲▬) — or use Format Cells → Alignment tab.

6.7 Wrap Text

Wrap Text allows long content to display on multiple lines within the same cell, instead of overflowing into adjacent cells or being truncated. The row height automatically expands to accommodate all lines.

Applying Wrap Text

  • Select the cell(s) → Home → Alignment group → Wrap Text button (the button with text wrapped in a cell icon)
  • — or — Format Cells (Ctrl+1) → Alignment tab → tick Wrap text
  • The row height increases automatically to show all content

Manual Line Break Within a Cell

To force a new line at a specific point within the same cell (instead of letting Excel wrap automatically):

  • Enter Edit Mode (F2 or double-click) → position cursor where the break should go → press Alt+Enter
  • A new line starts at that position within the cell
  • Wrap Text must be on for the line break to be visible
After applying Wrap Text: Double-click the border below the row number to AutoFit the row height if it does not expand correctly. Wrapped text with manually set row heights may truncate the bottom lines.

Shrink to Fit

An alternative to Wrap Text: Shrink to Fit automatically reduces the font size to make the content fit within the current column width — no wrapping, no overflow.

  • Format Cells (Ctrl+1) → Alignment tab → tick Shrink to fit
  • Cannot be used at the same time as Wrap Text
  • Use for: tables where all rows must be the same height and content length varies — e.g., product code lists

6.8 Indenting Text in Cells

Indenting moves text away from the left edge of the cell, creating a visual hierarchy. Widely used in financial statements, account lists, and categorised data.

Applying Indent

  • Increase Indent: Home → Alignment group → Increase Indent button (right-pointing arrow). Each click adds one indent level (approximately 1 character width).
  • Decrease Indent: Home → Alignment group → Decrease Indent button (left-pointing arrow)
  • Exact indent level: Format Cells (Ctrl+1) → Alignment → Indent → type a number (0 = no indent, 1 = one level, 2 = two levels, etc.)

Indenting to Show Hierarchy

INCOMER 850,000
    Sales RevenueR 720,000
    Service IncomeR 130,000
EXPENSESR 540,000
    SalariesR 320,000
    RentR 120,000
        Office RentR 84,000
        Storage RentR 36,000

The example above uses indent level 0 for category headers, level 1 for main items, and level 2 for sub-items — creating a clear financial statement layout.

6.9 Text Orientation & Rotation

Rotating cell text is useful for narrow column headers in wide tables — rotating labels 45° or 90° allows narrow columns with descriptive headers, saving horizontal space.

Applying Text Rotation

  • Home → Alignment group → Orientation button (the angled text icon, ↭)
  • Quick options: Angle Counterclockwise, Angle Clockwise, Vertical Text, Rotate Text Up, Rotate Text Down
  • For exact degrees: click Format Cell Alignment… at the bottom of the menu → Format Cells → Alignment tab → drag the Orientation dial or type a value in the "Degrees" box (-90 to +90)

Common Text Rotation Uses

AngleUse Case
45° (Angle Clockwise)Diagonal column headers in a comparison matrix or attendance register — compact without becoming hard to read
90° (Rotate Text Up)Very narrow columns with long descriptive headers — e.g., month names (Jan, Feb...) stacked vertically in a calendar-style layout
Vertical TextEach letter stacked top-to-bottom without rotation — for very narrow label columns

6.10 Merge & Centre

Merging combines two or more adjacent cells into one larger cell. The most common use is centring a title above a table. However, merging has significant limitations — understanding them prevents serious problems.

Applying Merge & Centre

  1. Select the cells to merge (e.g., A1:E1 to create a heading spanning 5 columns)
  2. Home → Alignment group → Merge & Center button dropdown ▼:
OptionWhat It Does
Merge & CenterCombines selected cells into one and centres the content horizontally
Merge AcrossMerges each row individually in a multi-row selection — does not merge rows together, only merges across columns within each row
Merge CellsCombines selected cells without applying centre alignment
Unmerge CellsSplits a previously merged cell back into individual cells. The content remains in the top-left cell only; all other cells are blank.

Important Merge Limitations

Warning — Merging causes problems:
  • Sorting breaks: You cannot sort a range that contains merged cells — Excel shows an error ("To do this, all merged cells need to be the same size")
  • VLOOKUP / INDEX-MATCH issues: Merged cells in a lookup column confuse these functions
  • Copy-paste problems: You cannot paste data into a range that overlaps with merged cells
  • AutoFill blocked: AutoFill does not work correctly across merged cells
  • Only the top-left cell's content is kept: If you merge cells that all contain data, only the content in the top-left cell is preserved — all other content is deleted with no warning
Recommended alternative: Use Centre Across Selection (Format Cells → Alignment → Horizontal: Centre Across Selection) instead of Merge & Centre for titles. It achieves the same visual result without creating a merged cell.

6.11 Format Painter — Copying Formatting

The Format Painter copies all formatting from one cell (font, size, colour, borders, alignment, number format) and applies it to another cell or range with a single click — one of the most time-saving tools in Excel.

Using Format Painter

  1. Click the cell whose formatting you want to copy
  2. Home → Clipboard group → click the Format Painter button (the paint brush icon 🖌)
  3. The cursor changes to a paint brush with a + crosshair
  4. Click (or click and drag) the destination cell(s) to apply the formatting
  5. The formatting is applied and Format Painter automatically turns off

Applying to Multiple Areas (Lock Format Painter On)

  1. Click the source cell
  2. Double-click the Format Painter button — this locks it on (the button stays pressed/highlighted)
  3. Click each destination cell or range in turn — formatting is applied each time
  4. Press Esc or click the Format Painter button again to turn it off

Format Painter Keyboard Alternative

  1. Select the source cell → press Ctrl+C (copy)
  2. Select the destination cell(s)
  3. Home → Clipboard → Paste dropdown → Paste SpecialFormats only → OK
  4. — or — Ctrl+Alt+V → choose T (Formats) → Enter
Practical Use Case: You have formatted the first row of a report perfectly (dark green header, white bold text, centred, 12pt Arial). Select that row → double-click Format Painter → click each subsequent header row in the report. Every header instantly gets the identical formatting. Press Esc when done.

6.12 Clearing Formatting

Sometimes you need to remove all formatting from cells — returning them to the plain, unformatted default state — without deleting the cell contents.

Clear Formats Only

  1. Select the cell(s) whose formatting you want to remove
  2. Home → Editing group → Clear dropdown → Clear Formats
  3. All formatting is removed (font, colour, borders, alignment, number format) — the content remains

Clear All (Content + Formatting)

  • Home → Clear → Clear All — removes both content and all formatting, leaving completely blank unformatted cells

Pasting as Plain Text to Remove Formatting

  • When pasting from another source (web page, Word, another Excel file), paste as Values Only or Unformatted Text to discard the source formatting: Ctrl+Shift+V → Values — or — right-click → Paste Special → Values

6.13 Essential Formatting Keyboard Shortcuts

ShortcutAction
Ctrl+1Open Format Cells dialog
Ctrl+BBold
Ctrl+IItalic
Ctrl+UUnderline (single)
Ctrl+Shift+DDouble Underline
Ctrl+5Strikethrough
Ctrl+LAlign Left
Ctrl+ECentre
Ctrl+RAlign Right
Ctrl+Shift+>Increase font size one step
Ctrl+Shift+<Decrease font size one step
Alt+EnterInsert manual line break within a cell
Ctrl+Alt+VOpen Paste Special dialog
Ctrl+Shift+~Apply General number format
Ctrl+Shift+$Apply Currency format (with 2 decimal places)
Ctrl+Shift+%Apply Percentage format (0 decimal places)
Ctrl+Shift+#Apply Date format (dd-mmm-yy)
Ctrl+Shift+@Apply Time format (hh:mm AM/PM)

6.14 Quick Self-Check

Q1: You have a header row that is formatted with dark green background, white bold text, and centred content. You need to apply the same formatting to 8 more header rows throughout the spreadsheet. What is the most efficient method?

✓ Click any cell in the correctly formatted header row → double-click the Format Painter button (paint brush) on the Home tab. Double-clicking locks Format Painter on. Now click each of the 8 additional header rows in turn — each one instantly receives the identical formatting (background colour, font colour, bold, alignment). Press Esc when all 8 rows are done to turn off Format Painter. This is far faster than formatting each row individually.

Q2: You typed a title "Quarterly Sales Report" in cell A1 and used Merge & Centre across A1:E1. Now your manager asks you to sort the data by column B, but Excel shows an error. What caused the error and what is the correct solution?

✓ The Merge & Centre in row 1 is causing the sort to fail — Excel cannot sort a range that contains merged cells of different sizes. Solution: unmerge first — select A1:E1 → Home → Merge & Center dropdown → Unmerge Cells. The title moves back to cell A1 alone. Then perform the sort. After sorting, instead of using Merge & Centre again, use the safer alternative: select A1:E1 → Ctrl+1 → Alignment tab → Horizontal: Centre Across Selection. The title appears centred across the range without creating a merged cell, so future sorts will work correctly.

Q3: How do you apply text rotation of exactly 45 degrees to a range of column headers?

✓ Select the header cells → Home → Alignment group → Orientation dropdown (∠) → click "Angle Counterclockwise" for approximately 45°. For exactly 45°: Format Cells (Ctrl+1) → Alignment tab → in the Orientation section, type 45 in the Degrees box (or drag the dial to 45) → OK. The text in the selected cells rotates to exactly 45 degrees above horizontal.

Q4: A cell displays ####### instead of its value. What does this mean and how do you fix it?

✓ ####### means the column is too narrow to display the cell's value in its current format. The content is there — Excel just cannot fit it visually. Fix: widen the column by double-clicking the right border of the column header to AutoFit, or drag the border to make it wider. This happens most often with date or currency values that have been formatted to show long text. It can also occur when a negative date results from a date calculation error.

Q5: You have pasted data from a website and all the text has come in with a blue hyperlink colour, Calibri 10pt, and various font sizes. You want to keep the text content but strip all the formatting back to your spreadsheet's default. What is the quickest way?

✓ Select all the pasted cells → Home → Editing → Clear dropdown → Clear Formats. This removes all formatting (font colour, size, hyperlink style, borders, fill) while keeping the text content intact. Alternatively, before pasting: Ctrl+Alt+V → Values (V) → Enter — pasting as values only strips all formatting at the point of paste. A third option: right-click the destination cell → in the Paste Options icons, choose "Values Only" (the 123 icon).

Q6: In a financial statement, you want the text "Total Revenue" in cell A10 to be indented by two levels to show it is a sub-total under a main category. How do you apply exactly 2 indent levels?

✓ Select cell A10 → click the Increase Indent button in the Home tab Alignment group twice (each click adds one indent level). For precise control: Ctrl+1 → Alignment tab → Indent field → type 2 → OK. The text "Total Revenue" now starts 2 character-widths from the left edge of the cell, visually subordinating it under the main category heading. Add Bold formatting to the main category heading to reinforce the hierarchy.

✓ Module 6 Complete — You Have Learned:

  • The four locations for formatting tools — Home tab Font/Alignment groups, Mini Toolbar, Format Cells dialog (Ctrl+1)
  • Font face — changing font, using Live Preview; SA corporate font recommendations (Arial, Calibri, Verdana, Century Gothic)
  • Font size — dropdown, direct typing, keyboard shortcuts (Ctrl+Shift+>/<)
  • Bold (Ctrl+B), Italic (Ctrl+I), Underline (Ctrl+U), Double Underline (Ctrl+Shift+D) — all toggle on/off; accounting convention for double underline on grand totals
  • Strikethrough (Ctrl+5); Superscript and Subscript (via Format Cells Font tab)
  • Font Colour — colour bar, dropdown, Theme Colors, Standard Colors, custom hex codes
  • Fill Colour — paint bucket, dropdown, No Fill option; colour conventions (header rows, alternating shading, input cells, warning colours, category coding)
  • Accessibility warning — do not rely on colour alone; 8% of men have colour vision deficiency
  • Mini Toolbar — how to access (right-click, text selection); contents; enabling/disabling in Options
  • Format Cells dialog — all 6 tabs (Number, Alignment, Font, Border, Fill, Protection) with what each controls
  • Horizontal alignment — Left (Ctrl+L), Centre (Ctrl+E), Right (Ctrl+R), Justify, Centre Across Selection (safer alternative to Merge)
  • Vertical alignment — Top, Middle, Bottom; buttons and Format Cells
  • Wrap Text — applying; Alt+Enter for manual line break; AutoFit row height after wrap; Shrink to Fit as the alternative
  • Indenting — Increase/Decrease Indent buttons; exact level via Format Cells; financial statement hierarchy example
  • Text rotation — Orientation dropdown quick options; exact degrees via Format Cells (-90 to +90); use cases for 45° and 90°
  • Merge & Centre — Merge & Center, Merge Across, Merge Cells, Unmerge; all 5 merge limitations (sorting, VLOOKUP, paste, AutoFill, content loss); Centre Across Selection as the recommended safer alternative
  • Format Painter — single-click (one use), double-click (locked on for multiple uses), Esc to turn off; Paste Special Formats as the keyboard alternative
  • Clearing formatting — Clear Formats (keeps content), Clear All (removes everything), paste as Values to strip incoming formatting
  • Complete reference table of 18 essential formatting keyboard shortcuts

← Back to All Modules