In Excel for Microsoft 365 on Windows, select the cell or range and press Alt, H, H to open the Fill Color palette; then choose a yellow swatch and press Enter. Excel has no single default keystroke that immediately applies yellow fill, so the final choice is made in the palette.
Use the Windows shortcut step by step
The key sequence uses Excel’s ribbon Key Tips. Press and release each key in order rather than holding them all down:
- Select the cell or cells you want to color. You can drag across a range, or click a cell and use Shift with the arrow keys to extend the selection.
- Press Alt, then H, then H. The Fill Color menu opens on the Home tab.
- Use the arrow keys to move through the palette until the yellow you want is highlighted. Press Enter to apply it.
The two H presses are both part of the ribbon sequence: Alt activates Key Tips, the first H selects Home, and the next H opens Fill Color. If Key Tips show different letters on your screen, follow the letters displayed; ribbon key tips can vary with the interface or customization. You can also click a yellow square in the palette if navigating the choices by keyboard is inconvenient.
To color several nonadjacent cells, hold Ctrl while selecting them, then use the same sequence once. The fill is applied to every selected cell. To color an entire row or column, click its row number or column letter before opening the palette.
Why there is not a one-key yellow command
Excel’s built-in keyboard sequence opens the color picker rather than choosing a fixed yellow. That design lets you select from the workbook’s theme colors, standard colors, and other available color choices, but it means the shortcut requires a final selection. In contrast, commands such as copying or undoing have standard shortcuts that perform a defined action immediately.
People also use “highlight” to mean different things. In Excel, the usual way to mark a cell manually is to apply a fill color with the paint-bucket-shaped Fill Color control on Home. The nearby Font Color control changes the letters instead. If the text turns yellow but the cell background does not, you likely chose Font Color rather than Fill Color.
Excel does not have Word’s text highlighter in the same sense. A yellow-filled cell is still a normal cell: its value, formulas, number format, and borders remain separate properties. You can change or remove the fill without changing the cell’s contents.
Pick the right yellow
The Fill Color palette can show theme colors as well as standard colors. Theme colors are tied to the workbook’s current theme, so a yellow-looking theme shade may be muted or gold rather than vivid yellow. Standard Colors includes a more recognizable basic yellow. Hovering over a swatch can show its name in a tooltip; keyboard users can move through the palette and inspect the highlighted choice before confirming it.
For example, a pale yellow can make a note column visible without overpowering the data, while a stronger yellow can draw attention to a due date or a missing entry. Avoid using color as the only signal when the workbook is shared: add a label, symbol, or other clear indication so readers who cannot distinguish the color can still understand the mark. Also check that the cell’s text remains readable. White text on a bright yellow fill, in particular, may have weak contrast.
If the exact shade matters, open the Fill Color menu and choose More Colors where available to select a custom color. A custom shade can be useful for matching a style guide, but it may be less consistent with the workbook’s theme if the theme changes later.
Apply the same yellow to more cells
For a quick batch, select all the cells that need the same fill before choosing yellow. This avoids repeating the palette steps for every cell. If the cells are scattered, Ctrl-click each one on Windows to build a nonadjacent selection, then apply the fill once. Be careful not to replace an existing multi-cell selection accidentally when clicking elsewhere in the sheet.
For ongoing work, the Fill Color button remembers the currently displayed color. After choosing yellow from its dropdown, clicking the main part of the button applies that current fill to the selected cells. The dropdown arrow opens the palette to choose a different color. This is handy when marking several areas in sequence, although the visible current color can change if another person or another action changes the workbook’s formatting state.
Excel’s F4 key can repeat some previous actions, and Ctrl+Y can redo an action that was undone. These are not dedicated “fill yellow” shortcuts, however. Their results depend on the last action and the context, so use the Fill Color control when you need to be certain which color is being applied.
Manual fill versus conditional formatting
A manual yellow fill stays in place until someone changes or clears the formatting. It is a good fit for a one-time annotation, such as marking a value for review, or for a small hand-maintained checklist. The color does not automatically respond when the cell’s value changes.
Use conditional formatting when the color should depend on a rule. For example, to highlight overdue dates or values below a threshold, select the relevant cells and go to Home > Conditional Formatting, then choose an appropriate rule. To build a custom rule, use Home > Conditional Formatting > New Rule and set the desired format, including a yellow fill. The exact choices depend on the rule type and selection.
Conditional formatting can update as cell values change, but it is not the same as manually painting cells. A rule may take precedence visually over a manual fill, and copying a manually colored cell does not create a dynamic rule. Choose the method based on whether the yellow should be a fixed annotation or a signal that updates automatically.
Other ways to set cell fill
If you prefer a dialog with more formatting controls, select the cells and press Ctrl+1 on Windows to open Format Cells. Choose the Fill tab, select a color, and confirm. This route is useful when you also need to adjust borders, number formats, or other cell properties, though it takes more steps than the ribbon palette.
You can also use the mouse: select the cells, go to Home > Fill Color, and choose yellow. On a narrow window, some ribbon controls may be grouped or displayed in a compact layout, but Fill Color remains a Home-tab formatting control. If the button itself applies the wrong shade, use its dropdown arrow to open the choices instead of clicking the main button.
For a format already used elsewhere in the workbook, Format Painter can copy the source cell’s formatting to another cell or range. This copies more than just fill in many cases, including such properties as font and borders, so it is not ideal if you want yellow alone. Use the Fill Color palette when you want to change only the background.
Mac and Excel for the web
The Alt, H, H sequence described above is for Excel on Windows. On a Mac, select the cells and use Home > Fill Color to choose yellow; do not assume that the Windows Key Tip sequence works on macOS. Mac keyboard navigation and available shortcuts can differ by Excel version, keyboard settings, and ribbon configuration. If you rely on keyboard access, use the key commands shown by your Mac version rather than importing a Windows sequence.
In Excel for the web, select the cells and use the Home tab’s Fill Color menu. The web interface and its keyboard access can differ from desktop Excel, so the Windows ribbon sequence may not behave identically in a browser. If a shortcut does not open the palette, use the visible ribbon control; this also helps distinguish the fill menu from Font Color.
Common problems and quick checks
- The text changed color instead: choose Fill Color, not the adjacent Font Color control.
- The yellow is too pale or too orange: open the dropdown and select a different swatch, checking the tooltip or preview where available.
- Nothing happened after pressing the shortcut: enter Alt, H, H in sequence on Windows, and make sure Excel has focus. If your ribbon shows different Key Tips, follow those letters.
- Only some cells changed: check the selection before applying the fill. Merged cells and nonadjacent selections can make the affected area less obvious.
- The fill seems to disappear: check whether conditional formatting is affecting the cell’s appearance, or whether a later formatting action replaced the fill.
If you want to remove a manually applied color, select the cells, open the Fill Color menu, and choose No Fill. This removes the background fill; it does not delete the cell’s value. If the color comes from conditional formatting, change or remove the rule instead, because choosing No Fill for the manual format may not override a rule.
Frequently Asked Questions
What is the keyboard shortcut for yellow highlight in Excel?
On Windows, press Alt, H, H to open the Fill Color palette, then select yellow and press Enter. There is no default single-key shortcut that directly applies yellow.
Can I make Alt+H, H apply yellow immediately?
Not with Excel’s standard ribbon sequence: it opens the color palette so you can choose a color. For repeated use, select the cells and use the Fill Color button’s main area after yellow is the current fill color.
Does Ctrl+Shift+H highlight a cell yellow?
No. Ctrl+Shift+H is not Excel’s standard Windows shortcut for applying yellow cell fill. Use Alt, H, H and select a yellow swatch, or use Home > Fill Color.
How do I highlight cells yellow automatically when they meet a condition?
Select the cells and use Home > Conditional Formatting to choose or create a rule. Set the rule’s format to a yellow fill so Excel can update the highlighting when values change.
How do I remove yellow fill without deleting data?
Select the cells, open Home > Fill Color, and choose No Fill. The contents remain. If a conditional-formatting rule supplies the yellow, edit or remove that rule instead.
Related
- Data Validation List Based on Another List in Excel
- Excel Data Validation Failed? Common Causes and Fixes
- Excel Data Validation Images: What Works and How to Do It
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- How to Remove Subtotals From Google Sheets VLOOKUPGoogle Sheets VLOOKUP does not create subtotals, so remove them from its lookup results by excluding subtotal rows…
- Excel Data Validation Drop-Down Not Showing? FixesIf an Excel data validation drop-down is not showing, select the cell and check Data > Data Validation…
- Excel Dropdown List Without Blanks: Keep Options CleanYes. In Excel for Microsoft 365, use a FILTER formula to create a helper list containing only nonblank…
- How to Convert Text to Numbers in an Excel ColumnTo convert text-formatted numbers in an Excel column, select the cells, click the warning icon that appears beside…
- Google Sheets Column Running Total: Formulas That WorkTo calculate a running total in a Google Sheets column, enter =SUM($A$2:A2) in B2 when your numbers are…
- Future Out of Office in Outlook: How to Schedule ItTo schedule a future out-of-office reply in Outlook, open Automatic Replies, turn on the option to send replies…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.