Sub topic 5
Finding commands fast: the search box and Alt key tips
This chapter covers three ways to reach a command without hunting through the ribbon: the Search box, Alt key tips, and direct keyboard shortcuts. It assumes you can open a blank workbook and that you already know the ribbon is divided into tabs, groups, and commands.
Why speed matters here
The ribbon holds hundreds of commands. You can find any of them by browsing tabs, but that gets slow when you repeat an action many times a day. Each of the three methods below suits a different situation.
| Method | Best when | Cost |
|---|---|---|
| Search box | You know what you want but not where it lives | Typing a few words |
| Alt key tips | You know where the command is and want to repeat it often | Learning a key sequence |
| Direct shortcut | The command is one you use constantly | Memorizing a combination |
The Search box
The Search box sits at the top of the Excel window, in the title bar area. In recent versions of Excel it shows the placeholder text "Search". In older versions it appears as "Tell me what you want to do", next to a light bulb icon. The layout varies by version, but the behavior is the same.
To use it:
- Press Alt+Q, or click the box.
- Type a word or phrase, such as
freezeorpage break. - Choose a result with the mouse, or move with the arrow keys and press Enter.
Results can include commands, Help topics, and, depending on your version, actions such as inserting a chart. Choosing a command runs it directly. You do not need to know which tab it belongs to.
What the Search box does not tell you
Search is a launcher, not a map. It runs the command but does not teach you where it sits on the ribbon. If you run the same command often, note its location afterward and switch to Alt key tips.
Common mistakes with Search
- Typing the full sentence you would say aloud. Short keywords such as
mergework better than "how do I combine two cells". - Expecting a command that is unavailable to run. A command can be greyed out because of the current selection. For example, chart commands need a chart to be selected first.
- Assuming results are the same on every machine. Your version, language, and recent history affect what appears.
Alt key tips
Key tips are small letter badges that appear over the ribbon when you press and release Alt. They let you operate the ribbon with the keyboard, one key at a time, without holding any key down together.
How the sequence works
- Press and release Alt. Badges appear over each tab, such as H for Home and N for Insert, and over Quick Access Toolbar commands, which are numbered.
- Press the letter for a tab. The ribbon switches to that tab and shows a new set of badges for its commands.
- Press the letters for the command. Some commands need two or three keys.
For example, the sequence Alt, H, O, I automatically fits the width of the selected columns. You press Alt, release it, then press H, then O, then I, one after another.
Alt, H, O, I AutoFit Column Width (Home > Format > AutoFit Column Width)
Alt, H, B, A All Borders
Alt, N, V Insert PivotTableThe exact letters can differ between versions and languages. Always trust the badges on your screen over any written list. A reasonable habit is to press Alt and read the badges the first time, then rely on memory afterward.
Backing out of a sequence
- Press Esc once to go back one level of badges.
- Press Esc again, or press Alt, to leave key tip mode entirely.
If you press a wrong letter, Esc is cheaper than finishing the sequence and undoing the result.
Why key tips are worth learning
A key tip sequence is the same every time, so it becomes muscle memory. It also reaches commands that have no direct shortcut. Because the sequence follows the ribbon layout (tab, then group, then command), it reinforces your sense of where things live.
Note that a key tip sequence is typed one key at a time. This differs from a shortcut such as Ctrl+C, where keys are held together.
Direct keyboard shortcuts
Some commands have a shortcut that does the action in a single combination. These are faster than key tips but must be memorized. The ones below are useful when moving around the ribbon and workbook.
Ctrl+F1 Show or collapse the ribbon
Alt Show key tips for ribbon tabs
Ctrl+PageDown Go to the next worksheet
Ctrl+PageUp Go to the previous worksheet
Shift+F11 Insert a new worksheet
Ctrl+Home Go to cell A1
Ctrl+End Go to the last used cell
Ctrl+G Open the Go To dialog box (F5 also works)When the ribbon is collapsed, key tips still work. Pressing Alt and then a tab letter temporarily shows that tab, and the ribbon hides again after you run a command.
Choosing between the three methods
The diagram shows a decision path you can follow when you need a command.
Edge cases and gotchas
- Alt works only when the window has focus. If a dialog box is open, Alt applies to that dialog's own underlined letters, not the ribbon. Close the dialog first.
- Shortcut conflicts. Another program, such as a screen-capture tool or a language input switcher, can capture a combination before Excel receives it. If a shortcut does nothing, test it in a blank workbook with other utilities closed.
- Language differences. In localized versions of Excel, key tip letters and some shortcuts follow the interface language. A sequence from an English-language guide may not match.
- Mac differences. Excel for Mac does not use Alt key tips in the same way. It relies on the menu bar and a different set of shortcuts, so do not expect the sequences in this chapter to apply there.
- Customization changes the badges. Items you add to the Quick Access Toolbar receive numbered key tips, such as Alt+1. Reordering that toolbar changes the numbers.
Practice
Open a blank workbook and try this sequence:
- Type a long word, such as
Quarterly summary, into cell A1. - Press Alt, then H, O, I, to widen column A to fit.
- Press Alt+Q and type
freeze. Choose a Freeze Panes command from the results. - Press Ctrl+Z to undo, then Alt, and read the badges without pressing anything else. Press Esc to leave.
Exercise
You want to apply All Borders to a selected range many times a day, but you do not remember which tab holds the command. Which methods would you use first, and which would you switch to once you learn the location?
Show answer
Use the Search box (Alt+Q) at first, because it finds the command by name without needing its location. After you note where it is on the ribbon (Home tab, Font group, Borders), switch to Alt key tips (Alt, H, B, A) for speed. If you do it very often, you could also add it to the Quick Access Toolbar.
Exercise
You press Alt, then H, then realize you wanted the Insert tab instead. What is the quickest way to correct this without running any command, and what happens if you press Esc twice?
Show answer
Press Esc once to return to the tab-level badges, then press N for the Insert tab. Pressing Esc twice leaves key tip mode entirely, and you would have to press Alt again to start over.