Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Put a Line Through Text in Excel: Strikethrough Guide

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To put a line through text in Excel, use the keyboard shortcut Ctrl + 5 (Windows) or Cmd + Shift + X (Mac), or access the Format Cells menu under the Font tab. This action, known as "strikethrough," allows you to visually mark tasks as completed or data as obsolete without deleting the original content.

What You'll Need

  • A computer with Microsoft Excel installed (Windows or macOS).
  • A spreadsheet containing the text you wish to cross out.

Step-by-Step

Depending on whether you want to cross out an entire cell or just a few specific words within a cell, choose one of the following methods. Note that menu labels may differ slightly depending on your version of Excel or region.

Method 1: Using Keyboard Shortcuts (Fastest)

  1. Click on the cell or highlight the range of cells you want to format.
  2. Press Ctrl + 5 on your keyboard (Windows). For Mac users, press Cmd + Shift + X.
  3. The line will appear immediately. To remove it, press the same shortcut again.

Method 2: Using the Format Cells Menu (Detailed)

  1. Right-click the cell you want to format and select Format Cells... from the context menu. Alternatively, you can select the cell and press Ctrl + 1.
  2. In the window that appears, click the Font tab at the top.
  3. Under the Effects section, check the box labeled Strikethrough.
  4. Click OK to apply the change.

Method 3: Striking Through Specific Text Within a Cell

  1. Double-click the cell to enter "Edit Mode," or select the cell and click into the Formula Bar at the top.
  2. Use your mouse to highlight only the specific words or characters you want to cross out.
  3. Right-click the highlighted text and select Format Cells... (or press Ctrl + 1).
  4. Check the Strikethrough box under the Font tab and click OK.

Method 4: Using Conditional Formatting (Automatic)

  1. Select the cells you want to be automatically crossed out based on a rule (e.g., when a status changes to "Done").
  2. Go to the Home tab on the ribbon and click Conditional Formatting > New Rule...
  3. Select "Use a formula to determine which cells to format".
  4. Enter the formula that triggers the strike (for example, if cell A1 contains the word "Done", enter =A1="Done").
  5. Click the Format... button.
  6. Go to the Font tab, check Strikethrough, and click OK.
  7. Click OK again to save the rule. Now, whenever the condition is met, the line will appear automatically.

Common Mistakes

  • Using the wrong shortcut: Users often confuse Ctrl + 5 with other formatting shortcuts. Ensure you are using the number 5 on the main keyboard row, not necessarily the numeric keypad.
  • Trying to find a Ribbon button: Unlike Microsoft Word, Excel does not have a dedicated "Strikethrough" button on the Home tab by default. Many users waste time searching the ribbon when the shortcut or Format Cells menu is the intended path.
  • Applying to the whole cell by mistake: If you only want to cross out one word, you must enter the cell (double-click) first. If you apply strikethrough while the cell is simply selected, the entire content of the cell will be crossed out.

Tips

  • Add a Quick Access Button: If you use strikethrough frequently, you can add it to your Quick Access Toolbar. Right-click the ribbon, select Customize Quick Access Toolbar, find the Strikethrough command, and add it.
  • Visual Hierarchy: Combine strikethrough with a lighter font color (like grey) to make completed items recede into the background, making the remaining active items easier to see.
  • Data Integrity: Remember that strikethrough is a visual format. It does not change the value of the cell. If the cell contains a number used in a formula, that number will still be calculated even if it has a line through it.

Troubleshooting

If the strikethrough is not appearing as expected, try these steps in order:

  1. Check for Protected Sheets: If the worksheet is protected, you cannot change the formatting. Go to the Review tab and check if it says Unprotect Sheet. If so, click it to enable editing.
  2. Verify Cell Selection: Ensure you are not in "Edit Mode" (cursor blinking inside the cell) when using the Ctrl + 5 shortcut for the whole cell; the shortcut works most reliably when the cell is selected but not being actively typed in.
  3. Check Conditional Formatting Conflicts: If you have a Conditional Formatting rule applied to the cell, it may override manual formatting. Check Conditional Formatting > Manage Rules to see if a rule is preventing the strikethrough from appearing.

Frequently Asked Questions

Is there a strikethrough button in the Excel ribbon?

No, by default, Excel does not have a visible strikethrough button on the Home tab like Word does. You must use the shortcut, the Format Cells menu, or add the command to your Quick Access Toolbar.

Does strikethrough affect formulas?

No. Strikethrough is purely a visual style. Any numbers or text crossed out will still be read by Excel formulas (like SUM or COUNT) as if the line were not there.

How do I remove a line through text?

Select the cell and press Ctrl + 5 again, or go to Format Cells > Font and uncheck the Strikethrough box.

Can I strike through only part of a cell's text?

Yes. Double-click the cell to enter edit mode, highlight the specific text you want to change, right-click, select Format Cells, and check Strikethrough.

Does the Ctrl + 5 shortcut work on a Mac?

The standard Windows shortcut does not work on macOS. Mac users should use Cmd + Shift + X.