In Excel for Microsoft 365 on Windows, press Alt, then H, then H to open the Fill Color palette; choose a yellow swatch and press Enter. There is no universal single key that applies yellow directly, because the shortcut opens the color palette rather than selecting a particular color.
The quickest way to fill a cell yellow
For a one-off highlight, select the cell or range, open the Fill Color menu with the keyboard sequence, and select yellow. The sequence is entered in order, not held down like a modifier combination: tap Alt, tap H, then tap H again. In the palette, use the arrow keys to move through the available colors and Enter to apply the highlighted choice. Because the palette can include theme colors and standard colors, check the swatch label or preview before confirming if you need a specific shade.
You can also use the mouse: select the cells, go to Home > Fill Color in the Font group, and click the yellow square. If the main Fill Color button already displays yellow, clicking its paint-bucket portion applies that current color immediately. Clicking the small arrow beside it opens the palette instead.
- Keyboard: Alt, H, H, navigate to yellow, Enter.
- Mouse: Home > Fill Color arrow, then select yellow.
- Repeat an existing yellow fill: use the main Fill Color button if yellow is still the selected fill color.
Why there is no dedicated yellow-fill shortcut
Excel’s built-in ribbon shortcut opens the Fill Color palette; it does not assign a fixed key combination to each color. Yellow is only one of many possible choices, and a workbook may use theme colors, custom colors, or a different shade of yellow. A universal key for yellow would therefore be less flexible than a shortcut that opens the palette.
The button also remembers the most recently selected fill color. This distinction explains a common surprise: clicking the paint-bucket portion of the button may apply a color without opening any choices, while clicking its dropdown arrow displays the palette. The keyboard sequence Alt, H, H is the route to the menu. It does not mean that every subsequent press of H means yellow.
Some instructions online describe a single shortcut as if it always fills a cell yellow. In many cases, they mean a custom shortcut, a macro, a Quick Access Toolbar position, or a sequence that depends on a particular workbook setup. Those methods can be useful, but they are not the same as a standard Excel shortcut that always selects yellow on every computer.
Choose the yellow shade that fits the sheet
Excel’s palette can show theme colors, tints and shades, and standard colors. A bright standard yellow is easy to recognize, while a pale theme yellow can work better for a large highlighted area. Theme colors can also change if the workbook’s theme changes, so a shade that looks pale in one workbook may look different in another.
For ordinary marking, use a light fill with dark text so the cell remains readable. Strong yellow can be useful for a small warning or an item needing attention, but covering a large table with saturated color makes values harder to scan. If you need a specific brand or report color, use Home > Fill Color > More Colors where available, then select a color in the dialog. Custom colors are appropriate when consistency matters more than a quick highlight.
Before filling a range, verify the selection in the worksheet. Selecting a whole row or column by mistake can color much more than intended. For a rectangular range, click the first cell, hold Shift, and select the last cell; for separate, nonadjacent cells, hold Ctrl while selecting on Windows. Then apply the fill once to the selection.
Make yellow easier to apply repeatedly
If you use yellow frequently, a practical shortcut is to set the current Fill Color to yellow once and then reuse the button. Select a cell, open the Fill Color palette, and choose yellow. After that, clicking the main paint-bucket area applies the current color to the selected cells. The small dropdown arrow remains the way to choose a different shade.
For a keyboard-driven workflow, you can add the Fill Color command to the Quick Access Toolbar (QAT). In Excel for Windows, open the QAT customization menu, choose More Commands, locate Fill Color in the available commands, and add it. QAT items can be activated with Alt plus their displayed position number; for example, the first item is generally Alt+1. The number depends on the commands and order in your own toolbar, so check the KeyTip shown after pressing Alt.
Set the Fill Color button’s current color to yellow before relying on this shortcut. The QAT command activates the button; it does not create a separate command that permanently means yellow. If you change the selected fill color later, the same QAT position may apply the new current color. This setup is helpful for repeated formatting, but the regular palette remains clearer when you need different colors throughout a task.
Fill Color versus Font Color
Fill Color changes the background of a cell. Font Color changes the color of the text, numbers, or symbols inside it. Both controls appear in the Home tab’s Font group and both use color palettes, so it is easy to choose the wrong one when moving quickly. The Fill Color icon resembles a paint bucket; the Font Color icon uses an A with a colored underline.
If the cell text turns yellow but its background stays unchanged, you probably used Font Color. Undo with Ctrl+Z if that was not intended, select the cells again, and use Home > Fill Color. If the background changes but the text becomes difficult to read, restore a dark font color using Home > Font Color. Filling a cell does not automatically change the font color or add a border.
These are separate formatting properties. A cell can have a yellow fill, black text, and a border at the same time. That makes Fill Color useful for highlighting without changing the value, formula, number format, or font styling in the cell.
Copy a yellow fill or use Format Painter
If an existing cell already has exactly the yellow you want, copying its formatting can be faster than finding the shade in the palette. Select the formatted cell and use the Format Painter command at Home > Clipboard > Format Painter, then paint over the target cells. Double-click Format Painter to keep it active for applying the formatting to several separate areas; press Esc when finished.
Format Painter copies more than the fill. Depending on the source cell, it can also copy font settings, borders, alignment, and number formatting. If you want to transfer only a background color, use the Fill Color control instead. You can also copy a source cell, select the destination, and use Paste Special to paste formats, but that likewise transfers formatting beyond the fill alone.
For a simple fill-only repeat, select the destination range and click the main Fill Color button after setting it to the desired yellow. This avoids accidentally changing number formats or borders, which can matter in a carefully formatted report.
Common problems and how to fix them
- The shortcut does not open the palette: make sure you are using desktop Excel for Windows and enter Alt, H, H in sequence. Ribbon KeyTips may differ in other Office languages or customized environments.
- The wrong color appears: you may have clicked the main Fill Color button, which applies the currently selected color. Open the dropdown arrow and choose yellow.
- The color seems not to apply: the worksheet may be protected, or the selected cells may be part of a table or have other formatting rules. Check whether Excel allows formatting on the protected sheet and whether the displayed color is controlled by a rule.
- The cell still looks like a different color: conditional formatting can change a cell’s displayed appearance when its rule is true. Review Home > Conditional Formatting > Manage Rules to see whether a rule is overriding the manual fill.
- Only some cells changed: check the selected range and look for merged cells or protected cells that prevent the expected edit.
Table styles can also create banded rows or other visual effects. If manual color appears inconsistent, inspect the table style and conditional formatting before repeatedly applying fills. Applying yellow again may not solve the issue if a rule or style is responsible for what you see.
Windows, Mac, and Excel for the web
The Alt, H, H sequence is for Excel desktop on Windows using the standard English ribbon KeyTips. KeyTips are the letters displayed on the ribbon after you press Alt. On a different language version or a customized ribbon, the letters can differ; follow the letters shown on screen rather than assuming the English sequence works everywhere.
Excel for Mac does not use the same Windows Alt-based ribbon sequence. Select the cells and use Home > Fill Color from the ribbon, or use the Mac’s keyboard navigation and menu access settings if you prefer not to use a mouse. Mac keyboard behavior can depend on the keyboard and macOS settings, so do not treat Alt, H, H as a Mac shortcut.
In Excel for the web, select the cells and use Home > Fill Color to open the color choices. Browser shortcuts and web-app ribbon access can differ from desktop Excel, so the Windows sequence may be intercepted or behave differently in a browser. When a shortcut does not work in the web app, the ribbon dropdown is the dependable way to apply yellow.
Use color without making the sheet harder to read
Color is useful for drawing attention, but it should not be the only signal that information matters. A reader may print the worksheet in grayscale, have difficulty distinguishing colors, or view it on a display where pale yellow has little contrast. Pair a highlight with a label such as Review, a border, or another clear indicator when the distinction is important.
Yellow fill is best used consistently. For example, a team might reserve pale yellow for cells that require manual input and use another visual treatment for calculated results. If several meanings are assigned to the same color, readers have to guess what the highlight represents. A short legend near the top of the sheet can explain color conventions in shared workbooks.
Frequently Asked Questions
What is the keyboard shortcut to fill a cell yellow in Excel?
In Excel for Windows, press Alt, H, H to open the Fill Color palette, navigate to a yellow swatch, and press Enter. There is no built-in one-key shortcut that directly selects yellow.
Can I make one shortcut always apply yellow?
Not with a standard built-in yellow-specific shortcut. You can set yellow as the current Fill Color and add the Fill Color button to the Quick Access Toolbar, then use its Alt-number KeyTip. Remember that the button uses the current color, which can change.
Why does Alt, H, H apply a color instead of opening the palette?
Check that you entered the sequence in order and are using desktop Excel for Windows. To choose a color, use the dropdown part of the Fill Color control. The main button applies the currently selected fill color.
How do I remove yellow fill from a cell?
Select the cell or range, open Home > Fill Color, and choose No Fill. This removes the manual background fill; if a conditional-formatting rule still colors the cell, review or change that rule separately.
Does the Windows shortcut work in Excel for Mac or the web?
Alt, H, H is a Windows desktop ribbon sequence, not a universal Excel shortcut. On Mac or in a browser, use the Home tab’s Fill Color dropdown unless the KeyTips or shortcuts shown by that version provide another route.
Related
- Microsoft Excel Protect Sheet: Steps, Limits, and Tips
- Microsoft Excel Named Ranges: How They Work and Help
- Microsoft Excel CSV Import: Steps, Settings, and Fixes
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Unable to Add a Shared Mailbox in Outlook? FixesIf you cannot add a shared mailbox in Outlook, first confirm that your work or school account has…
- Create Water Bottle Labels in Word: A Practical GuideTo create water bottle labels in Microsoft Word, choose a label size, set up the page or label…
- Outlook Web Access Rules: How to Create and Manage ThemTo create a rule in Outlook Web Access, open Settings (the gear icon), go to Mail > Rules,…
- How to Add a Watermark in Word 365, Text or PictureTo add a watermark in Word 365 on Windows, open the document and choose Design > Watermark, then…
- Add a Picture as a Watermark in WordTo add a picture watermark in Microsoft Word, open the document in the desktop app and choose Design…
- Track Changes in Word 365: A Practical How-To GuideTo track edits in Word 365, open your document, go to Review > Track Changes, and choose whether…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.