I want a formular that gives a star rating when something is between 2 numbers

nijode999

New Member
Joined
Nov 15, 2020
Messages
6
So,

I can figure something out, but I don't think it is a hard one.


So I have a B11 with a number between 1-100.


I want a create a formula that convert this number to stars like this:

★★★★★ 96-100

★★★★½ 86-95

★★★★ 76-85

★★★½ 66-75

★★★ 56-65

★★½ 46-55

★★ 36-45

★½ 26-35

★ 16-25

½ 0-15

What is the best way I can do this. So if B11 is 43 I want B13 to show ★★ and when B11 is 76 I want B13 to show ★★★★ stars. Any way to do this?

Already thanks!
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
You're welcome & thanks for the feedback.
 
Upvote 0
So,

I can figure something out, but I don't think it is a hard one.


So I have a B11 with a number between 1-100.


I want a create a formula that convert this number to stars like this:

★★★★★ 96-100

★★★★½ 86-95

★★★★ 76-85

★★★½ 66-75

★★★ 56-65

★★½ 46-55

★★ 36-45

★½ 26-35

★ 16-25

½ 0-15

What is the best way I can do this. So if B11 is 43 I want B13 to show ★★ and when B11 is 76 I want B13 to show ★★★★ stars. Any way to do this?

Already thanks!
To make the solution transparent, consider putting the star-mapping into a range such as the below and then using a vlookup
GH
70½
816
926★½
1036★★
1146★★½
1256★★★
1366★★★½
1476★★★★
1586★★★★½
1696★★★★★

=VLOOKUP(B11,G7:H16,2,TRUE)
 
Upvote 0

Forum statistics

Threads
1,215,563
Messages
6,125,554
Members
449,237
Latest member
Chase S

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top