+ Reply to Thread
Results 1 to 5 of 5

Someone please help me understand WHY this WORKS!?!?

  1. #1
    Registered User
    Join Date
    12-27-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    14

    Exclamation Someone please help me understand WHY this WORKS!?!?

    So i know typically people prob post with problems... well the only problem i have is I do not understand Why it works?

    The formula is:
    Code:
    Please Login or Register  to view this content.
    So what this does is, in the cell next to it, it is a drop down box, 1 star - 5 stars
    when I select one of the options, the box with the formula above will auto change to an actual star(s).

    So first there is the cell with the drop down to select the number of stars, then there are 5 cells next to it all with the formula above and as you select the number of stars the stars show up in the 5 cells...

    What i'm hoping is someone can actually explain to me how it works and break down the code for me? I am glad it works but If i dont understand or learn what its doing i cant improve my skills.

    I dont understand where or how the stars actually get called into play? Or really any bit of the code..

    Please Help!!!

    Capture.PNG

    capture2.PNG

    capture3.PNG

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: Someone please help me understand WHY this WORKS!?!?

    The formula is only half the story. The other half is the use of Conditional Formatting to display stars depending on the result of the formulas.

    The formula itself extracts the left most character (1 to 5) from the selected value in the drop-down.

    Then this explains how conditional formatting displays stars instead of the numbers.
    Display Gold Star Icons in Excel with Conditional Formatting
    Attached Images Attached Images
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: Someone please help me understand WHY this WORKS!?!?

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).
    http://www.mrexcel.com/forum/excel-q...why-works.html
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    12-27-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Someone please help me understand WHY this WORKS!?!?

    Thanks for the information. Although I did not really see what i was doing was wrong, after I read your article you gave me... I understand 100% how it would be frustrating to the people who do take there time out and try to resolve.

    Thanks for the "Tip" and I will be careful of crossposting (or should i say NOT crossposting) in the future!

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: Someone please help me understand WHY this WORKS!?!?

    Thanks for the understanding

    It's not that we dont want you to x-post (we cant really stop that anyway), just that you let us (and them) know when you do

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] This formula works but I don´t understand why Index(Index) match
    By campelliann in forum Excel General
    Replies: 2
    Last Post: 01-25-2016, 05:55 PM
  2. [SOLVED] Get statement - Please help me understand how this works
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-29-2015, 08:31 PM
  3. how can i make this code works for multiple links it only works for one link
    By baig123 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-12-2014, 08:38 AM
  4. [SOLVED] I want to understand what is behind A2 cell ? How this works ?
    By HerryMarkowitz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-31-2014, 01:36 PM
  5. Replies: 1
    Last Post: 09-18-2007, 02:07 PM
  6. [SOLVED] Excel Addin works that works on a template workbook
    By s.jay_k in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-15-2006, 03:35 PM
  7. [SOLVED] How do I convert works file to excel without works software?
    By CatMB in forum Excel General
    Replies: 1
    Last Post: 06-21-2005, 12:05 PM

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