Basic Cell Formatting: Fonts, Colors, Alignment & Borders
Transform plain spreadsheets into professional, readable documents. Learn to change fonts and sizes, apply colors, align content perfectly, add borders, and use the Format Painter to copy formatting instantly. Good formatting makes data easier to read, understand, and present to others.
In This Lesson
Why Formatting Matters
Imagine receiving two spreadsheets containing identical data. One is a wall of plain text with no visual distinction between headers and data, numbers and labels, important figures and supplementary information. The other has clear headers in bold, alternating row colors, properly aligned numbers, and borders separating different sections. Which would you rather work with?
Formatting is not just about making spreadsheets look pretty — it serves critical functional purposes that directly impact how effectively your data communicates information.
The Benefits of Good Formatting
Improved Readability
Easier to scan and find information quickly
Reduced Errors
Clear structure prevents misreading data
Professional Appearance
Creates credibility and trust in your work
Highlight Important Data
Draw attention to key figures and trends
Where Formatting is Applied
In Excel, formatting is applied to cells, not to the data itself. This means:
- The same cell can display the same number in different ways (1000 vs. $1,000.00 vs. 1,000)
- Formatting does not change the underlying value — only how it appears
- You can copy formatting separately from data
- Clearing formatting does not delete your data
Formatting vs. Content
Remember: formatting changes how data looks, not what the data is. A cell containing the number 0.08 can be formatted to display as "8%" or "0.08" or "$0.08" — but the underlying value remains 0.08 and calculations will use that actual value.
The Format Cells Dialog Box
Excel provides multiple ways to format cells, but the most comprehensive is the Format Cells dialog box. This powerful tool gives you access to every formatting option in one place.
Opening the Format Cells Dialog
There are several ways to open this dialog:
- Keyboard Shortcut (Fastest): Select cells and press Ctrl + 1
- Right-Click Method: Select cells, right-click, and choose "Format Cells"
- Ribbon Method: Home tab → click the small arrow in the bottom-right corner of the Font, Alignment, or Number group
- Menu Method: Format menu → Cells (in older Excel versions)
The Six Tabs of Format Cells
| Tab | What It Controls | Key Options |
|---|---|---|
| Number | How numbers are displayed | Currency, percentage, date formats, decimal places |
| Alignment | Position of content within cells | Horizontal/vertical alignment, text wrap, merge cells, text rotation |
| Font | Text appearance | Font family, size, color, bold, italic, underline, strikethrough |
| Border | Lines around cells | Line style, color, position (top, bottom, left, right, diagonal) |
| Fill | Cell background | Background color, pattern style, pattern color, gradient fills |
| Protection | Cell security settings | Locked, hidden (requires sheet protection to take effect) |
Remember Ctrl + 1
The keyboard shortcut Ctrl + 1 is one of the most useful shortcuts in Excel. It works on both Windows and Mac (use Command + 1 on Mac) and opens the Format Cells dialog instantly. Professional Excel users rely on this shortcut constantly.
Font Formatting
Font formatting controls how text appears in your cells — the typeface, size, color, and style. These options are found in the Font group on the Home tab, or in the Font tab of the Format Cells dialog.
Changing Font Family (Typeface)
The font family determines the overall look of your text. Excel comes with hundreds of fonts, but a few are most commonly used for spreadsheets:
Common Excel Fonts
How to Change Font Family
- Select the cells you want to format
- Go to Home tab → Font group
- Click the Font dropdown (shows current font name)
- Scroll through the list or type the font name to search
- Click on a font to apply it
Changing Font Size
Font size is measured in points (pt). The default size in Excel is 11 points. Common sizes range from 8pt (very small) to 72pt (very large, typically for titles).
| Size | Typical Use | Keyboard Shortcut |
|---|---|---|
| 8-9 pt | Fine print, footnotes, dense data tables | — |
| 10-11 pt | Standard body text, regular data | Default |
| 12-14 pt | Slightly larger text, column headers | — |
| 16-20 pt | Section headers, important labels | — |
| 24+ pt | Main titles, presentation headers | — |
Quick Size Adjustments
- Increase Font Size: Ctrl + Shift + >
- Decrease Font Size: Ctrl + Shift + <
- Or use the A buttons in the Font group (larger A increases, smaller A decreases)
Changing Font Color
Font color changes the color of the text itself (not the cell background). The Font Color button shows a colored underline indicating the currently selected color.
- Select the cells
- Click the dropdown arrow next to the Font Color button (A with colored underline)
- Choose a color from the palette, or click "More Colors" for custom options
Color Considerations
When choosing font colors, consider readability and accessibility. Avoid light colors on white backgrounds. Red is commonly used for negative numbers, but some people are colorblind — do not rely solely on color to convey meaning.
Font Styles: Bold, Italic, Underline
Font styles add emphasis to text. Excel provides three main styles that can be combined: Bold, Italic, and Underline.
Bold Text
Bold makes text heavier and darker, providing strong emphasis. It is perfect for headers, totals, important values, and labels.
Bold
Shortcut: Ctrl + B
Use for: Headers, column titles, totals, important figures
Italic Text
Italic slants text to the right, providing subtle emphasis. It is often used for notes, references, or to distinguish certain types of content.
Italic
Shortcut: Ctrl + I
Use for: Notes, descriptions, secondary information, foreign words
Underline Text
Underline adds a line beneath text. In spreadsheets, single underline is often used for subtotals, while double underline indicates grand totals (an accounting convention).
Underline
Shortcut: Ctrl + U
Use for: Subtotals (single), grand totals (double), emphasis
Double Underline: Available in Format Cells → Font tab
Combining Styles
You can apply multiple styles to the same text. For example, bold italic or bold underline. Simply apply each style one after another, or use the Format Cells dialog to set multiple options at once.
Strikethrough
Strikethrough draws a line through text, typically indicating deleted or completed items. There is no direct keyboard shortcut, but you can access it through Format Cells → Font tab → Effects section.
Cell Colors and Fill
Cell fill (also called background color or shading) adds color behind the text in a cell. This is one of the most effective ways to visually organize data and highlight important information.
Applying Fill Color
- Select the cells you want to color
- Find the Fill Color button on the Home tab (paint bucket icon)
- Click the dropdown arrow to see the color palette
- Choose a color — click once to apply
- For more options, click "More Colors" for custom colors or Format Cells → Fill tab for patterns
Color Usage Guidelines
| Color | Common Use | Example |
|---|---|---|
| Light Blue | Header rows, column titles | Table headers |
| Light Green | Positive values, completed items | Profit, success, approved |
| Light Red/Pink | Negative values, warnings, attention needed | Losses, errors, overdue |
| Light Yellow | Highlights, input cells, notes | Important data, user input areas |
| Light Gray | Alternating rows, secondary data | Banded rows for readability |
Theme Colors vs. Standard Colors
Excel's color palette shows two sections:
- Theme Colors: Top section — these colors are tied to your workbook's theme and will change if you switch themes. They include variations (lighter/darker) of each theme color.
- Standard Colors: Bottom section — these are fixed colors that do not change with themes.
Pro Tip: Consistent Color Schemes
Use theme colors for a consistent, professional look that can be easily updated later. If you change the document theme, all theme colors update automatically. This is especially useful for corporate documents that need to match brand colors.
Pattern Fills
For more advanced effects, Excel supports pattern fills (stripes, dots, crosshatches). Access these through Format Cells → Fill tab → Pattern Style dropdown. Patterns are rarely used in modern spreadsheets but can be useful for distinguishing areas when printing in black and white.
Text Alignment
Alignment controls where content is positioned within a cell. Proper alignment significantly improves readability, especially in tables with mixed data types.
Horizontal Alignment
Horizontal alignment positions content left-to-right within the cell:
Text aligns to the left edge
Text is centered
Text aligns to the right edge
| Alignment | Best For | Shortcut |
|---|---|---|
| Left | Text, names, descriptions, labels | Ctrl + L |
| Center | Headers, titles, short labels, categories | Ctrl + E |
| Right | Numbers, currencies, quantities, dates | Ctrl + R |
Vertical Alignment
Vertical alignment positions content top-to-bottom within the cell (most noticeable when row height is larger than the text):
- Top: Content aligns to the top of the cell
- Middle (Center): Content is centered vertically — the default
- Bottom: Content aligns to the bottom of the cell
Text Wrap
When text is longer than the column width, you have several options:
- Overflow: Text extends into adjacent empty cells (default behavior)
- Truncate: Text is cut off at the cell border (if adjacent cell has data)
- Wrap Text: Text wraps to multiple lines within the cell, increasing row height
To enable text wrap: Home tab → Alignment group → click Wrap Text button
Indent
Indenting moves content inward from the cell edge, useful for creating visual hierarchy in lists or categories:
- Increase Indent: Home → Alignment → Increase Indent button
- Decrease Indent: Home → Alignment → Decrease Indent button
Text Orientation (Rotation)
You can rotate text at an angle, which is useful for narrow column headers:
- Select the cells
- Home tab → Alignment group → Orientation button (angled "ab")
- Choose from preset angles or "Format Cell Alignment" for custom degrees
Alignment Best Practice
A common professional convention: Left-align text, right-align numbers. This makes text easy to read (we read left-to-right) and makes numbers easy to compare (decimal points and digits align). Center-align headers for a clean look.
Cell Borders
Borders add lines around cells to define boundaries, separate sections, and create visual structure. The faint gridlines you see on screen are not borders — they are just visual guides that do not print by default.
Border Examples
(Default)
(Grid)
(Emphasis)
(Box)
Applying Borders
- Select the cells where you want borders
- Go to Home tab → Font group → Borders button (grid icon with dropdown)
- Click the dropdown arrow to see border options
- Choose a preset: Bottom Border, All Borders, Outside Borders, etc.
- For custom borders, choose "More Borders" to access the Format Cells Border tab
Common Border Presets
| Preset | Description | Best Use |
|---|---|---|
| Bottom Border | Line under selected cells only | Separating headers from data, subtotals |
| Top and Bottom Border | Lines above and below | Highlighting a row |
| All Borders | Grid lines around every cell | Complete tables, forms |
| Outside Borders | Box around the selection only | Grouping related cells, sections |
| Thick Box Border | Heavy border around selection | Emphasizing important areas |
| Top and Thick Bottom | Thin top, heavy bottom | Totals row (accounting style) |
Custom Borders (Format Cells → Border Tab)
The Border tab in Format Cells gives you full control:
- Line Style: Thin, thick, dashed, dotted, double, etc.
- Line Color: Any color from the palette
- Position: Click on specific edges (top, bottom, left, right) or use presets
- Diagonal Lines: Add diagonal lines through cells
Borders for Printing
The gray gridlines you see in Excel do not print by default. If you want lines to appear when printed, you must add actual borders. Alternatively, you can enable "Print Gridlines" in Page Layout → Sheet Options, but proper borders give you more control.
Merging Cells
Merging combines multiple cells into one larger cell. This is commonly used for titles that span multiple columns or for creating visual groupings.
How to Merge Cells
- Select the cells you want to merge
- Go to Home tab → Alignment group
- Click the Merge & Center dropdown
- Choose an option:
- Merge & Center: Combines cells and centers content (most common)
- Merge Across: Merges cells in each row separately
- Merge Cells: Combines cells without centering
- Unmerge Cells: Splits merged cells back to individual cells
Warning: Merged Cells Can Cause Problems
While merging is useful for visual formatting, it can interfere with sorting, filtering, and formulas. Merged cells cannot be sorted properly, and VLOOKUP/INDEX may fail with merged ranges. Use merging sparingly, primarily for titles and labels — not for data that needs to be analyzed.
Alternative: Center Across Selection
If you just want to center a title across multiple columns without actually merging cells, use "Center Across Selection":
- Type your title in the leftmost cell
- Select that cell and the cells to its right that you want to span
- Open Format Cells (Ctrl + 1) → Alignment tab
- Under Horizontal, choose "Center Across Selection"
- Click OK
This centers the text visually but keeps cells separate — avoiding merge-related problems.
Format Painter
The Format Painter is one of Excel's most useful tools for formatting. It copies the formatting from one cell and applies it to others — instantly transferring fonts, colors, borders, alignment, and number formats.
Format Painter — Your Formatting Superpower
Instead of manually applying the same formatting to multiple areas, copy it once and paint it everywhere. This saves enormous time and ensures consistency.
Using Format Painter (Single Use)
- Select a cell that has the formatting you want to copy
- Click the Format Painter button (paintbrush icon) on the Home tab
- Your cursor changes to a paintbrush icon
- Click or drag over the cells where you want to apply the formatting
- Formatting is applied and Format Painter turns off automatically
Using Format Painter (Multiple Uses)
To apply the same formatting to multiple non-adjacent areas:
- Select the cell with source formatting
- Double-click the Format Painter button (this locks it on)
- Click or drag over the first destination area
- Click or drag over additional areas — Format Painter stays active
- Press Escape or click Format Painter again when finished
Format Painter Keyboard Shortcut
While there is no single keyboard shortcut for Format Painter, you can use these combinations:
- Copy formatting: Ctrl + Shift + C
- Paste formatting: Ctrl + Shift + V
Format Painter Copies Everything
Format Painter copies ALL formatting: font, size, color, bold/italic, fill color, borders, alignment, and number format. It does not copy content — only appearance. This makes it perfect for quickly standardizing the look of different sections.
Cell Styles
Cell Styles are predefined formatting combinations that you can apply with one click. Excel includes built-in styles for common formatting needs, and you can create custom styles for your own preferences.
Applying Cell Styles
- Select the cells to format
- Go to Home tab → Styles group
- Click Cell Styles to open the gallery
- Hover over styles to preview them on your selection
- Click a style to apply it
Built-in Style Categories
| Category | Includes | Use For |
|---|---|---|
| Good, Bad, Neutral | Green (Good), Red (Bad), Yellow (Neutral) | Highlighting performance, status indicators |
| Data and Model | Calculation, Check Cell, Input, Output, etc. | Financial models, distinguishing cell types |
| Titles and Headings | Heading 1-4, Title, Total | Document structure, hierarchy |
| Themed Cell Styles | Various accent colors with intensity levels | Color-coding, visual organization |
| Number Format | Comma, Currency, Percent | Quick number formatting |
Creating Custom Cell Styles
- Format a cell exactly how you want the style to look
- With that cell selected, go to Home → Cell Styles → New Cell Style
- Give your style a name (e.g., "Company Header")
- Choose which formatting attributes to include
- Click OK — your style is now available in the Cell Styles gallery
Pro Tip: Style Benefits
Custom styles are especially valuable for consistency across large workbooks or when multiple people work on the same files. Define company-standard styles once, and everyone can apply them with a single click.
Clearing Formatting
Sometimes you need to remove formatting and start fresh. Excel provides several options for clearing different types of content.
Clear Options
Go to Home tab → Editing group → Clear dropdown:
| Option | What It Removes | What It Keeps |
|---|---|---|
| Clear All | Everything — content, formatting, comments | Nothing |
| Clear Formats | All formatting only | Content (data, formulas) |
| Clear Contents | Content (data, formulas) only | Formatting |
| Clear Comments | Comments and notes only | Content and formatting |
| Clear Hyperlinks | Hyperlinks only | Text and formatting |
Quick Clear Shortcuts
- Delete key: Clears contents only (keeps formatting)
- Backspace: Clears contents and enters edit mode
- Clear Formats: No direct shortcut — use the menu
Clear vs. Delete
Remember: Clear removes content or formatting from cells. Delete (right-click → Delete) removes entire cells, rows, or columns, shifting other cells to fill the space. These are very different operations!
Formatting Best Practices
Good formatting improves readability without overwhelming the data. Here are professional guidelines:
General Guidelines
- Less is more: Do not over-format. Simple, clean formatting is more professional than rainbow colors and excessive borders.
- Be consistent: Use the same formatting for similar elements throughout your workbook.
- Use a maximum of 3 fonts: Typically one for titles, one for headers, one for body text.
- Limit your color palette: Stick to 3-5 colors that work well together.
- Format for purpose: Consider whether the sheet will be viewed on screen, printed, or presented.
Specific Recommendations
| Element | Recommended Formatting |
|---|---|
| Main Title | Large (16-20pt), Bold, possibly merged across columns |
| Column Headers | Bold, centered, light fill color, bottom border |
| Data Rows | Standard size (10-11pt), alternating row colors optional |
| Totals Row | Bold, top border (thin), bottom border (double) |
| Numbers | Right-aligned, consistent decimal places |
| Text | Left-aligned |
| Negative Numbers | Red color and/or parentheses |
Accessibility Matters
Consider users with visual impairments. Use sufficient color contrast, do not rely solely on color to convey information, and use readable font sizes (minimum 10pt). Many organizations have accessibility requirements for documents.
Practice Exercise: Format a Sales Report
Apply everything you have learned by formatting a complete sales report from scratch.
Your Formatting Challenge
- Create a new workbook and save it as "Formatted_Sales_Report"
- In row 1, type "Q1 Sales Report" and merge cells A1:E1. Make it 18pt, bold, centered
- In row 3, create headers: Product, January, February, March, Total. Make headers bold, centered, with light blue fill
- Add sample data: Enter 4-5 products with sales numbers for each month in rows 4-8
- In column E, add SUM formulas to calculate totals for each product
- In row 9, add a "TOTAL" row with SUM formulas for each month
- Format numbers as currency with 2 decimal places
- Apply borders: Add borders around the entire table, with a thicker border separating headers from data
- Format the totals row: Bold, light yellow fill, top border
- Adjust column widths to fit content nicely (double-click column borders to auto-fit)
- Use Format Painter: Copy the formatting from one product row to another
- Add alternating row colors to the data rows for better readability (optional)
- Review and refine: Ensure consistent alignment, spacing, and colors
- Save your work
Great Work!
You have mastered basic cell formatting! You can now create professional, readable spreadsheets with proper fonts, colors, alignment, and borders. Next, you will learn about number formatting — how to display currencies, percentages, dates, and custom number formats.
Key Takeaways from Lesson 10
- Formatting improves readability, reduces errors, and creates professional appearance
- Ctrl + 1 opens the Format Cells dialog — the most comprehensive formatting tool
- Font formatting includes family, size, color, bold, italic, underline, and strikethrough
- Use Ctrl + B for bold, Ctrl + I for italic, Ctrl + U for underline
- Fill color (background) and font color are different — both are in the Font group
- Horizontal alignment: left for text, right for numbers, center for headers
- Wrap Text allows long content to display on multiple lines within a cell
- Borders define cell boundaries — essential for printed documents
- Merged cells are useful for titles but can cause problems with sorting and formulas
- Format Painter copies formatting from one cell to others — double-click to use multiple times
- Cell Styles provide pre-built formatting combinations for quick, consistent formatting
- Clear Formats removes formatting while keeping data — Clear All removes everything