Smart Systems for Home

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

Alt Hoi Excel: What It Means and How to Use It

· 6 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

"Alt hoi excel" is almost certainly a typo or mishearing of "Alt + H, O, I" — the keyboard sequence in Excel that opens the Home tab, then the Format menu, then the Column Width option. In other words, it is a fast way to resize columns without touching the mouse. The same ribbon-key pattern works for row height (Alt + H, O, H) and for AutoFit (Alt + H, O, A). If you are trying to widen a column quickly, press Alt, then H, then O, then I, type a number, and press Enter. That is the whole trick. The rest of this guide explains how the sequence works, what to do when it does not, and the related shortcuts worth learning.

What You'll Need

  • Microsoft Excel on Windows (the Alt ribbon shortcuts are a Windows feature; on Mac the equivalent is the Control or Option key combinations, and the letter sequence is different).
  • A spreadsheet open with at least one column you want to resize.
  • A keyboard with a working Alt key — on some compact laptops the Alt key is shared with Fn, so check before you start.

Step-by-Step

  1. Click any cell in the column you want to resize. You do not need to select the whole column; Excel applies the change to the column that contains the active cell.
  2. Press and release Alt on its own. Small letter hints appear above each tab on the ribbon — for example H over Home, N over Insert, P over Page Layout. Do not hold Alt down while pressing the next letter; tap it and let go.
  3. Press H. The Home tab opens and new letter hints appear over the buttons on that tab. The hint for the Format menu is O.
  4. Press O. A small menu drops down with options for row height, column width, AutoFit, hide and unhide, and so on. Each option has its own letter hint.
  5. Press I for Column Width. A small dialog box opens showing the current width in characters.
  6. Type the new width and press Enter. A width of 8.43 is the default; 12 to 15 fits most text labels, and 20 or more suits long descriptions. The column resizes immediately.
  7. Repeat for other columns, or use AutoFit instead. If you press A at step 5 rather than I, Excel auto-fits the column to its widest entry — usually faster than guessing a number.

Menu labels and letter hints can differ slightly between Excel versions, regions and ribbon customisations, so if O does not open the Format menu, look at the hint letters shown on your own screen rather than assuming the sequence above.

The same pattern covers related tasks: Alt, H, O, H opens Row Height; Alt, H, O, A auto-fits the selected column; Alt, H, O, W sets a default width for the whole sheet. Once you know that Alt exposes the ribbon and the letters follow the visible hints, you can drive almost any Excel command from the keyboard.

Common Mistakes

  • Holding Alt instead of tapping it. If you press Alt and keep it down while typing H, Windows may interpret the combination as a menu accelerator or do nothing. Tap Alt, release, then type the letters one at a time.
  • Typing the letters too fast. Excel needs a moment between keypresses to show the next set of hints. A steady one-letter-per-beat rhythm works; a blur of keys usually fails.
  • Pressing Alt + H + O + I all at once. That is a different keystroke and will not open the Column Width dialog. The sequence is four separate presses, not a chord.
  • Expecting it to work on Mac. Mac Excel does not use the Alt ribbon-key system. Use the Format menu or the Control + Option + letter shortcuts instead.
  • Resizing the wrong column. The change applies to the column containing the active cell, not to whatever column you last clicked with the mouse. Check the cell reference before you start.
  • Confusing Column Width with AutoFit. Column Width asks for a number; AutoFit measures the content. Picking the wrong one leaves you typing a value when you wanted automatic sizing.

Tips

  • Press Esc at any point to cancel the ribbon-key sequence and return to normal typing.
  • If you forget the next letter, pause — the hints stay on screen until you press a key or click away.
  • To resize several columns at once, select them first (click the first column header, then Shift-click the last), then run the sequence.
  • Double-clicking the boundary between two column headers is the mouse equivalent of AutoFit and often quicker for a single column.
  • Learn the pattern rather than the letters: Alt, then the tab hint, then the button hint. It works on every ribbon tab, not just Home.
  • If you use Excel heavily, the Alt sequences are worth memorising for the handful of commands you run daily — they are faster than hunting through menus.

Troubleshooting

Nothing happens when you press Alt. Click once inside the spreadsheet grid first — if focus is in a dialog box or the formula bar, Alt may behave differently. Also check that the Alt key itself is not stuck or remapped by keyboard software.

The letter hints do not appear. Some Excel versions and accessibility settings hide the key tips. Look at the ribbon tabs anyway and try pressing H; if the Home tab does not open, your version may not support ribbon key tips, and the Format menu on the ribbon is the reliable alternative.

Pressing O does nothing. The Format menu hint may be a different letter in your version or after ribbon customisation. Read the hint shown on your own screen above the Format button and press that letter instead.

The dialog opens but the column does not change. Make sure you typed a number and pressed Enter rather than clicking away. Widths below about 0.1 or above 255 are rejected by Excel.

You are on a Mac. The Alt sequence is Windows-only. Use the Format menu in the ribbon, or the Mac-specific keyboard shortcuts shown next to each menu command.

Excel is unresponsive. Save your work, close and reopen Excel, and try again. If the whole ribbon is frozen, restarting the application is the simplest fix; there is no need to reset or reinstall anything for a shortcut that stops responding.

Frequently Asked Questions

What does "alt hoi excel" actually mean?

It is a phonetic spelling of the Excel keyboard sequence Alt, H, O, I, which opens the Column Width dialog on the Home tab. The letters stand for the Home tab, the Format menu, and the Column Width option.

Does Alt + H + O + I work in Excel on Mac?

No. The ribbon key-tip system is a Windows feature. On Mac, use the Format menu or the shortcut shown beside the command in the menu.

What is the difference between Alt + H, O, I and Alt + H, O, A?

I opens Column Width so you can type a number; A runs AutoFit, which sizes the column to its widest entry automatically. Use I when you want a specific width and A when you want Excel to decide.

Can I resize several columns at once with this shortcut?

Yes. Select the columns first by dragging across their headers, then run the sequence. The width you enter applies to every selected column.

Why do the letter hints differ from the ones in this guide?

Ribbon hints can change with Excel version, region and any ribbon customisation. Always read the hints displayed on your own screen; the pattern of Alt, then tab letter, then button letter stays the same.

Is there a faster way to auto-fit a column?

Double-click the boundary between two column headers. It does the same job as AutoFit without any keystrokes, and it is handy when you only need to fix one column.