How to Type a Heart Symbol in Excel

To get a heart symbol in Excel, type =UNICHAR(9829) in a cell for ♥, =UNICHAR(9825) for ♡ or =UNICHAR(10084) for ❤. You can also hold Alt and press 3 on the numeric keypad, or use Insert → Symbol. Google Sheets supports the same formulas, plus =CHAR(9829).

Updated

Hearts you can type — or just copy

6 hearts

Tap to copy · long-press or right-click for more

On this page (7)
  1. Heart symbol in Excel: quick answer
  2. Method 1: The UNICHAR formula
  3. Method 2: Alt + 3 on the numeric keypad
  4. Method 3: Insert → Symbol
  5. Heart ratings with REPT
  6. Heart symbol in Google Sheets
  7. Troubleshooting

Heart symbol in Excel: quick answer

The most reliable way to get a heart in Excel is a formula. UNICHAR turns a heart’s decimal code into the character, so it works on every PC and Mac with Excel 2013 or later, with no special keys needed.

Method Steps Gives
UNICHAR formula =UNICHAR(9829) ♥ (any heart by code)
Alt code Num Lock on → Alt + 3 on the numpad ♥
Insert Symbol Insert → Symbol → Segoe UI Symbol → code 2665 ♥ ♡ ❤ ❦ and more
REPT rating =REPT(UNICHAR(9829),A2) ♥♥♥ (repeated hearts)
Emoji panel Win + . → search “heart” ❤️ 💕 and other emoji

Method 1: The UNICHAR formula

Type any of these into a cell and press Enter:

Formula Result
=UNICHAR(9829) ♥
=UNICHAR(9825) ♡
=UNICHAR(10084) ❤
=UNICHAR(10083) ❣
=UNICHAR(10085) ❥
=UNICHAR(10086) ❦

You can join hearts with text, too: ="I "&UNICHAR(9829)&" Excel" shows “I ♥ Excel.” To go the other way, =UNICODE("♥") returns 9829. The numbers are decimal versions of each heart’s Unicode code point. The heart Unicode reference lists them all.

If you need a fixed heart rather than a formula, copy the cell and use Paste Special → Values.

Method 2: Alt + 3 on the numeric keypad

  1. Select a cell (or double-click to edit it).
  2. Turn Num Lock on.
  3. Hold Alt and press 3 on the numeric keypad.
  4. Release Alt and press Enter.

This types ♥ only. For laptops without a numpad, use the formula or the emoji panel. See the Windows guide for details.

Method 3: Insert → Symbol

  1. Select a cell.
  2. Go to Insert → Symbol (in the Symbols group at the right of the ribbon).
  3. Set Font to Segoe UI Symbol and from to Unicode (hex).
  4. Type 2665 in Character code (or 2661 for ♡).
  5. Click Insert, then Close.

Heart ratings with REPT

REPT repeats text a set number of times, which makes it perfect for star-style ratings with hearts. With a score from 0 to 5 in cell A2:

Formula Score 3 shows
=REPT(UNICHAR(9829),A2) ♥♥♥
=REPT(UNICHAR(9829),A2)&REPT(UNICHAR(9825),5-A2) ♥♥♥♡♡

Make the rating cell’s font red for a classic look, or use conditional formatting to change the color based on the score. Keep scores in range: a negative repeat count returns #VALUE!.

You can also show a heart after a number without changing the value. Open Format Cells → Number → Custom and enter 0" ♥". The cell displays “5 ♥” but still counts as 5 in calculations.

Count the hearts in a rating

If a column holds ratings like ♥♥♥♡♡ as text, you can turn them back into numbers. =LEN(SUBSTITUTE(B2,UNICHAR(9825),"")) removes the empty hearts and counts what’s left, so ♥♥♥♡♡ returns 3. To count how many cells in a range contain a heart at all, use =COUNTIF(B2:B20,"*♥*").

Heart symbol in Google Sheets

Google Sheets supports the same formulas, with one bonus:

  • =UNICHAR(9829) and =CHAR(9829) both give ♥.
  • =REPT(CHAR(9829),A2) builds heart ratings.
  • On Windows, Alt + 3 on the numpad works while editing a cell.

For hearts in Google Docs or Slides, see the Google Docs guide.

Troubleshooting

  • #VALUE! from CHAR(9829): Excel’s CHAR stops at 255. Use UNICHAR.
  • #NAME? error: your Excel is older than 2013 and lacks UNICHAR. Use Insert → Symbol or Alt + 3.
  • Alt + X does nothing: that trick is for Word and Outlook, not Excel.
  • The heart shows as a box: change the cell font to Segoe UI Symbol, which includes all the classic hearts.

For other apps and devices, see how to type a heart symbol. To learn the difference between ♥ and ♡, visit the heart suit and empty heart pages.

Frequently asked questions

What is the heart symbol formula in Excel?

Use =UNICHAR(9829) for ♥, =UNICHAR(9825) for ♡ and =UNICHAR(10084) for ❤. The number is the heart's decimal Unicode code point. UNICHAR is available in Excel 2013 and later, including Microsoft 365 and current Excel for Mac, and it also works in Google Sheets.

What is the heart symbol shortcut key in Excel?

On Windows, select a cell, turn Num Lock on, hold Alt and press 3 on the numeric keypad to type ♥. That's the only built-in key shortcut. Word's Alt + X trick doesn't work in Excel, so use the UNICHAR formula or Insert → Symbol for ♡ and other hearts.

Why does =CHAR(9829) give an error in Excel?

In Excel, CHAR only accepts numbers from 1 to 255, so 9829 returns a #VALUE! error. Use =UNICHAR(9829) instead. Google Sheets is different: its CHAR function accepts Unicode numbers, so =CHAR(9829) works there.

How do I make a heart rating in Excel?

Put a score from 0 to 5 in A2, then use =REPT(UNICHAR(9829),A2)&REPT(UNICHAR(9825),5-A2). A score of 3 shows ♥♥♥♡♡. Color the cell red for a classic look. Keep scores within 0–5, because REPT can't repeat a negative number of times.

How do I insert a heart shape in Excel?

For a drawn heart instead of a character, go to Insert → Illustrations → Shapes and pick Heart under Basic Shapes. Drag on the sheet to draw it, then use the Shape Format tab to change its color. Shapes float over cells, so they won't sort or filter with your data.

Related pages

Your text — tap hearts to add0