+ Reply to Thread
Results 1 to 10 of 10

Add 5 Star Rating to cell

  1. #1
    Registered User
    Join Date
    05-20-2009
    Location
    Encino, CA
    MS-Off Ver
    Excel 2003
    Posts
    30

    Add 5 Star Rating to cell

    I want to create a column where each cell has 5 stars in it and you can click the stars like with most online website rating apps. Where can I find such an app?
    ::I just found out that the brain is like a computer. If that's true, then there really aren't any stupid people. Just people running DOS.

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Need to add 5 Star Rating to cell

    For discussion:
    A1 = cell to hold rating (stars)
    B1 = Data Validation Cell, List Option. List = 1,2,3,4,5

    Set font format of A1 to Wingdings

    Use this formula in A1: =REPT(CHAR(171),B1)

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Add 5 Star Rating to cell

    what do you want to happen when "stars"clicked then?
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    05-20-2009
    Location
    Encino, CA
    MS-Off Ver
    Excel 2003
    Posts
    30

    Re: Add 5 Star Rating to cell

    If I were to click the 3rd star, i wanted to see 3 filled yellow stars, and two empty stars.

    If I clicked the 1st star I wanted to see 1 filled yellow star and 4 empty stars.

    Thanks alot for the help and consideration. I wanted one more complex than just using the wingdings font.

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Add 5 Star Rating to cell

    You would have to use five separate cells and some VBA. There's no way to tell where you clicked in a cell, only that it was clicked.

    You could use shapes, but it would be messy.
    Entia non sunt multiplicanda sine necessitate

  6. #6
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Add 5 Star Rating to cell

    How about something like this?

    Book1.xls

    Not stars but might be helpfull...

    Now shg only need make vba to change cell's when they are populated

    For example, third box (third cell become TRUE) need to make 1 and 2 TRUE and 4 and 5 false...

    You know that VBA things
    Last edited by zbor; 09-24-2009 at 03:04 AM.

  7. #7
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Add 5 Star Rating to cell

    Click a star to select stars up to that point.

    Column G is used to remove star rating.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  8. #8
    Registered User
    Join Date
    05-12-2011
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Add 5 Star Rating to cell

    Hello Excel experts,

    I am trying to complete a task, can someone help?

    Here are my requirements:
    1. Allow user to select the star rating with a mouse click. They can select up to 5 stars.
    2. Display the total number of selected stars under the "Total Stars" column.

    I am a complete macro newbie and have no idea how to modify this code to meet the above requirements *and* insert the macro.

    I have attached my file so you can see. If someone could modify the file directly and re post I would be so grateful.

    Thank you!

    Please Login or Register  to view this content.
    Attached Files Attached Files

  9. #9
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Add 5 Star Rating to cell

    Welcome to the forum.

    Please take a few minutes to read the forum rules, and then start your own thread in the appropriate question forum.

    Thanks.

  10. #10
    Registered User
    Join Date
    10-10-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Add 5 Star Rating to cell

    Hi This is exactly what i need but have no idea where to insert this code.
    please advise i also want to have 6 stars.

    Your help would be greatly appreciated

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1