30 Advanced Excel Tips for 2026

Excel Champs / Excel Formulas List / How to Create a Star Rating Template in Excel
By Puneet Gogia (Microsoft MVP)

How to Create a Star Rating Template in Excel

30+ Advanced Excel Tips for 2026

No spam. Only Excel Stuff. God Promise. 😊

The simplest star rating needs one formula and no form controls: =REPT("★",A1)&REPT("☆",5-A1) where A1 holds a number from 0 to 5. REPT repeats a character a given number of times, so it draws that many filled stars followed by enough outlines to make five.

Paste the ★ and ☆ characters straight into the formula, or keep them in two cells and reference those. For ratings with decimals, round first: =REPT("★",ROUND(A1,0))&REPT("☆",5-ROUND(A1,0)).

If the stars show as boxes or only one appears, the cell font can’t render them — switch to Segoe UI Symbol or Arial Unicode MS. For a clickable version, insert five Option Buttons from Developer → Insert → Form Controls, set their Cell Link to the same cell, and point the formula at it.

One thing to know if you’re building a whole column of these: all option buttons on a sheet behave as a single group by default, so clicking one clears the others — put each row’s set inside its own Group Box to keep them independent.

Here is a quick tip for you to create a star rating template in Excel. To create this star rating template, all you need is the REPT function. The REPT function is useful when you want to repeat a given text a number of times.

Steps to Create a Star Rating Template

  1. Insert two different types of stars (☆★) in your worksheet and place them in two different cells.
  2. Insert five option buttons (Form Control) from the Developer tab (Developer ➜ Insert ➜ Option Button). After that, link all the buttons to a single cell. Place them in five cells in a vertical direction.
  3. Merge 5 cells in the column just before the one where you have the buttons.
  4. Enter “=REPT(H11,5-K11)&REPT(I11,K11)” in the merged cell.
  5. Change the text orientation of the cell to vertical text and then the text alignment to the center and bottom.

Here’s the formula from step 4, where H11 has the outlined star, I11 has the filled star, and K11 is the cell linked to the option buttons:

=REPT(H11,5-K11)&REPT(I11,K11)

If you don’t have the Developer tab on the ribbon, go to File ➜ Options ➜ Customize Ribbon and tick Developer. As all five option buttons are in the same group, they share one linked cell, which gets a number from 1 to 5 based on the button you click.

Your template is ready.

star rating template in excel

How It Works

The first part of the formula will give you outlined stars. For example, when you click on a 3-star rating, it will give you the remaining two stars as outlines.

The second part of the formula will give you filled stars. For example, when you click on the 4-star rating you will get 4 filled stars.

You can also insert symbols within the formula itself, or you can use other types of symbols as you like.

Show a Star Rating from a Number

If you already have ratings as numbers, like 3.7 or 4.2 in column A, you don’t need option buttons. Use the same REPT idea with the stars inside the formula, and ROUND to turn the rating into a whole number of stars:

=REPT("★",ROUND(A2,0))&REPT("☆",5-ROUND(A2,0))

For 3.7, it shows four filled stars and one outlined star. Just make sure the rating is between 0 and 5, as a number above 5 makes the second REPT negative, and you get the #VALUE! error.

And if you don’t want to type the star symbols, you can get them with UNICHAR (Excel 2013 and later): UNICHAR(9733) gives a filled star and UNICHAR(9734) gives an outlined star.

=REPT(UNICHAR(9733),ROUND(A2,0))&REPT(UNICHAR(9734),5-ROUND(A2,0))

Use the 3 Stars Icon Set

Another quick way is conditional formatting. Select the ratings, go to Home ➜ Conditional Formatting ➜ Icon Sets, and pick 3 Stars from the Ratings group. Excel shows an empty, half or full star next to each number, based on where it falls in the range. You can change those limits in Manage Rules ➜ Edit Rule.

Frequently Asked Questions

Can I show half stars?

Not with REPT, as there’s no half-star character in most fonts. Use the 3 Stars icon set, which has a half star, or round the rating to whole stars.

Why do the stars show as boxes or question marks?

The font of the cell doesn’t have the star characters. Change the font to Calibri, Arial or Segoe UI Symbol and the stars show up.

Can I make a 10-star rating?

Yes. Change the 5 in the formula to 10 and use ten option buttons (or ratings from 0 to 10).

Puneet Gogia

Written by

Puneet Gogia

Microsoft MVP — Excel · Founder, Excel Champs

Twelve years of teaching Excel, and a decade before that using it as a data analyst. Every tutorial here is written from a file I actually built.

3M+ readers helped
1,000+ tutorials written
Since 2015 teaching Excel

13 thoughts on “How to Create a Star Rating Template in Excel”

  1. Hi Puneet! This is helpful! I understand that this is for a template, when I try to copy the radio buttons on other columns(or rows– i tried to do it on a horizontal as I am creating a To-Read list with a star-rate feature), it’s not working. I believe it has something to do with Cell Link in Control settings of the button. Can you please clarify, what’s with the Cell Link? thank you!

    Reply
  2. There is a problem, that How to convert the star to tex?

    Reply
  3. Dear Puneet, thank you for your sharing of this tip. Could you please edit the steps to give details which feature is used to get the 2 different type of stars here and how to create a single cell link for all the buttons? Thanks

    Reply
  4. Would you consider any further explanation for this great lesson ? Seem to be missing something on the fonts for the ratings cells and getting only a single star to show instead of several. Thank you for all you do for us.

    Reply
  5. I really look forward to your daily posts Puneet. Thank you for your dedication and time you must spend on creating these extremely useful Excel tips! On a number of occasions the content of your email has been relevant to a project I have been working on and so helpful.

    Reply
  6. You always leave me mesmerized with the awesome knowledge you share. Thanks BRO!!

    Reply
  7. Also, how did you get cell H1 to populate in your sample file as there’s no visible formula in it? 🙂 thank you

    Reply
  8. Dear Puneet, thank you for your sharing of this tip. Could you please edit the steps to give details which feature is used to get the 2 different type of stars here and how to create a single cell link for all the buttons? Thanks 🙂

    Reply
  9. Insert two different types of stars (☆★) in your worksheet is a bit glib. How do I do this?

    Reply
    • Just copy paste these stars into your workbook in two different cells

      Reply
  10. Awesome 🙂 Puneet can you please make post for VBA basic ??? It would be good. Many of FB excel group members are looking for the same..

    Reply
    • Thanks Ankur.

      I am working on a basic VBA E-Book. Will Share With You Soon.

      Reply

Leave a Comment