Pressing Alt+H+B+A in Excel quickly applies both bold and italic formatting to selected text or cells. This keyboard shortcut combines two formatting commands into one action, saving time when you need to emphasize data in spreadsheets. No add-ins or special settings are needed—it works in all modern versions of Excel on Windows. On Mac, use Command+Shift+B for bold and Command+Shift+I for italic instead, as Alt+H+B+A is not supported.

What You'll Need

  • A Windows PC with Microsoft Excel installed (Excel 2010 or later)
  • A spreadsheet with text or numbers you want to format
  • Selection of at least one cell or range of cells

Step-by-Step

  1. Open your Excel file and navigate to the worksheet containing the data you want to format.
  2. Select the cell or range of cells you wish to apply bold and italic formatting to. You can click a single cell, drag to highlight multiple cells, or hold Ctrl while clicking to select non-adjacent cells.
  3. Release your mouse or touchpad and ensure the selection is visibly highlighted with a border around the cells.
  4. On your keyboard, press and hold the Alt key.
  5. While holding Alt, press the H key. This opens the Home tab menu in Excel’s ribbon interface.
  6. Still holding Alt, press the B key. This activates the Bold command.
  7. Without releasing Alt, press the A key. This activates the Italic command.
  8. Release all keys. The selected cells should now display text in bold and italic style.
  9. To confirm the formatting worked, check the Font group on the Home tab—both the Bold (B) and Italic (I) buttons should appear pressed or highlighted.

Common Mistakes

  • Pressing the keys too quickly or without holding Alt long enough, causing Excel to register only one command instead of the full sequence.
  • Trying to use this shortcut on a Mac—Alt+H+B+A does not work on macOS Excel; use Command+Shift+B and Command+Shift+I separately.
  • Accidentally pressing Shift or Ctrl along with Alt+H+B+A, which can trigger other functions like copying or selecting text.
  • Selecting cells that contain formulas or numbers only—Excel will still apply formatting, but if the cell displays a number without text, the visual change may be less obvious.
  • Using a non-US keyboard layout where the H, B, or A keys are mapped differently—ensure your keyboard is set to English (US) or a standard layout.

Tips

  • For repeated use, memorize the sequence: Alt (hold) → H → B → A. Practice it once or twice to build muscle memory.
  • If you frequently use bold and italic together, consider creating a custom style via the Styles gallery on the Home tab. This lets you apply the same formatting with one click.
  • Use this shortcut after pasting data from external sources—text often loses formatting, and Alt+H+B+A quickly restores emphasis.
  • Combine this with Alt+H+U for underline or Alt+H+O for font color to build custom formatting sequences in one session.
  • If you're formatting large ranges, select the entire column (click the column header) before pressing Alt+H+B+A to format everything at once.
  • Always verify formatting after applying it—some cells may be locked or protected, preventing changes even if the shortcut appears to work.

Troubleshooting

  • The shortcut does nothing. Check if any cells are protected. Go to Review > Protect Sheet and ensure formatting is allowed. If the sheet is protected, unprotect it with the password if you have it.
  • Only bold or only italic applies. You likely released Alt too early. Try again, holding Alt continuously from H through A. The sequence must be pressed in order without interruption.
  • Excel opens a different menu or command. You may have pressed the wrong key. Ensure you pressed H (Home tab), not S (Sort), F (Filter), or N (Number format). Double-check your keyboard layout.
  • Keyboard doesn’t respond. Restart Excel. Sometimes the ribbon interface becomes unresponsive. Close and reopen the file. If the issue persists, restart your computer.
  • Formatting applies but doesn’t look different. Check the font color—sometimes bold/italic text blends into a dark background. Change the font color to white or black using Alt+H+F+C to make it visible.
  • Using Excel Online or mobile app. Alt+H+B+A is not supported in Excel for the web or mobile. Use the mouse to select the Bold and Italic buttons in the toolbar instead.

Frequently Asked Questions

Does Alt+H+B+A work in Excel for Mac?

No. Excel for Mac does not support the Alt+H+B+A shortcut. Use Command+Shift+B for bold and Command+Shift+I for italic. You can apply both by pressing them one after the other.

Can I use this shortcut to remove bold and italic?

No. Alt+H+B+A only applies the formatting. To remove it, select the cells and press Alt+H+B+A again—this toggles the formatting off. If it doesn’t toggle, use the Bold and Italic buttons manually.

Why does Excel sometimes ignore the shortcut?

This happens if the ribbon is collapsed or if Excel is in a different mode like Page Layout or Full Screen. Switch back to Normal view by clicking View > Normal. Also ensure no dialog box or data validation alert is open.

Will this shortcut work on cells with conditional formatting?

Yes, but only if the conditional formatting rule does not override font styles. Bold and italic will appear on top of color or border changes, but if a rule forces a specific font style, it may override yours.

Is there a way to assign this shortcut to a button?

Yes. Go to File > Options > Quick Access Toolbar. Choose Commands Not in the Ribbon, find Bold and Italic, add them to the toolbar, then customize the icons. You can also create a macro to run both styles at once.

Does this shortcut affect numbers or just text?

It affects all content in the selected cells, including numbers, dates, and formulas. Excel applies the font style regardless of the cell’s data type. Numbers in bold and italic are still usable in calculations.