To insert a star symbol in Excel using an Alt code, hold the Alt key and type 9733 (for a filled star ★) or 9734 (for an empty star ☆) on your numeric keypad. This method allows you to bypass the menu system and insert symbols directly into a cell or formula, provided your keyboard has a dedicated number pad and your system supports Unicode input.

Adding star symbols to an Excel spreadsheet is a common requirement for creating rating systems, performance trackers, or visual dashboards. While Excel provides a symbol menu, using Alt codes is significantly faster for users who frequently input these characters. Because Excel handles characters based on the font and encoding of the system, understanding the difference between standard ASCII codes and Unicode characters is essential for ensuring your stars appear correctly across different computers and versions of the software.

What You'll Need

  • A Windows PC running Microsoft Excel.
  • A keyboard with a physical numeric keypad (the block of numbers on the right side). Laptop keyboards without a dedicated number pad may require a "Num Lock" function key to simulate one.
  • Num Lock enabled (the Num Lock light should be on).
  • A font that supports Unicode star characters, such as Segoe UI Symbol, Arial Unicode MS, or Lucida Sans Unicode.

Step-by-Step

  1. Open your Excel Workbook: Launch Microsoft Excel and select the cell where you want the star to appear. If you are editing a cell that already contains text, double-click the cell or press F2 to enter Edit Mode.
  2. Activate Num Lock: Ensure that the Num Lock key on your numeric keypad is turned on. If Num Lock is off, the number keys will act as directional arrows (Up, Down, Left, Right) rather than typing numbers, and the Alt code will not work.
  3. Hold the Alt Key: Press and hold the Alt key on your keyboard. Do not release it until you have finished typing the entire code.
  4. Enter the Code: While holding Alt, type the specific numeric sequence on the numeric keypad.
    • For a solid black star (★), type 9733.
    • For an outlined white star (☆), type 9734.
  5. Release the Alt Key: Once the final digit is typed, let go of the Alt key. The star symbol should immediately appear in the cell.
  6. Format the Symbol: Since the star is treated as text, you can now use the Home tab in the ribbon to change its color, increase the font size, or center it within the cell to make your rating system look professional.

Common Mistakes

The most frequent error users encounter is using the number row located above the QWERTY keys. Alt codes are designed specifically for the numeric keypad. The system does not recognize the top row of numbers for these specific character inputs. If you use the top row, nothing will happen, or you may see a completely different character based on your region's character map.

Another common mistake is releasing the Alt key too early. The sequence must be entered as one continuous action. If you release the key after the second or third digit, Excel will either input a standard number or a different symbol from the ASCII table. Additionally, some users forget to enable Num Lock, which results in the cursor moving around the spreadsheet instead of the symbol being inserted.

Users also frequently confuse Alt codes with Excel formulas. An Alt code is a keyboard shortcut for a character; it is not a function. You cannot type =ALT(9733) into a cell. To use a star within a formula, you must first insert the star into a cell and reference that cell, or use the UNICHAR function (e.g., =UNICHAR(9733)).

Tips

If you need to create a 5-star rating system, do not type the Alt code five times manually for every row. Instead, type the stars once in a single cell (e.g., ★★★★★), then click and drag the fill handle (the small green square at the bottom-right of the cell) downward to copy the stars to other cells. This saves time and ensures consistency across your data set.

For those who find Alt codes difficult to remember, you can use the UNICHAR function. In any cell, type =UNICHAR(9733) and press Enter. This tells Excel to display the character associated with that specific Unicode number. This is particularly useful if you want the number of stars to change dynamically based on a numerical value in another cell. For example, using a formula like =REPT(UNICHAR(9733), A1) will repeat the star symbol as many times as the number entered in cell A1.

To make your stars stand out, change the font color to gold or yellow. Select the cell, go to the Home tab, click the Font Color dropdown, and choose a gold shade. This transforms a simple black character into a visual indicator that looks like a traditional rating system.

Troubleshooting

If the Alt code is not working and you are seeing a different character or no character at all, first check your Num Lock status. If the light is off, press the Num Lock key and try again. If you are using a laptop without a dedicated number pad, look for a key labeled "Fn" and a secondary set of numbers printed in a different color on the letter keys (usually M, J, K, L, U, I, O). You will need to hold both the Fn and Alt keys while typing these numbers.

If the star appears as a square box (□) or a question mark (?), this is a font compatibility issue. The font currently selected for that cell does not have a glyph for the Unicode star character. To fix this, select the cell and change the font to Segoe UI Symbol or Arial Unicode MS. These fonts are standard on most Windows installations and include a wide array of symbols.

If you are using a non-English keyboard layout, the Alt code behavior may vary. Ensure your input language is set to English (United States) in the Windows taskbar. Some international layouts map the Alt key differently, which can interfere with the numeric keypad's ability to trigger Unicode characters.

Frequently Asked Questions

Can I use Alt codes for stars on a Mac?

No, Alt codes are a Windows-specific feature. On a Mac, you can insert stars by using the Character Viewer (Cmd + Ctrl + Space) and searching for "star," or by using the "Insert Symbol" menu within Excel for Mac.

What is the difference between Alt 9733 and Alt 9734?

Alt 9733 produces a filled-in, solid black star (★), which is typically used to represent a point earned. Alt 9734 produces an outlined, empty star (☆), which is often used to represent a potential point or a "missing" star in a rating scale.

Is there a way to insert stars without a number pad?

Yes. You can go to the Insert tab, click Symbol, and in the "Font" dropdown, select "Segoe UI Symbol." Scroll through the list or enter 2729 in the "Character code" box to find the star. Alternatively, use the =UNICHAR(9733) formula.

Will these stars show up if I send the file to someone else?

Yes, as long as the recipient is using a modern version of Excel and a system with standard Unicode fonts. Because the star is a character and not an image, it is embedded in the text of the cell and will travel with the file.

Can I use these stars in an Excel chart?

Yes. You can use stars in chart labels or as custom data markers. By copying the star symbol and pasting it into the label text or using a custom number format, you can add visual flair to your data visualizations.