+ Reply to Thread
Results 1 to 16 of 16

group percentages

Hybrid View

  1. #1
    Registered User
    Join Date
    02-17-2015
    Location
    Philippines
    MS-Off Ver
    2007
    Posts
    89

    group percentages

    hi

    simple task but I cant work it out and no one to sit with me to help

    basically 3 groups of 12 numbers (well, 12 12 13) put into its own colour group. by entering a number at a time, id like to see what colour group has most %

    interestingly I would like to see if the colour groups would shift so out of the numbers entered (0-36) would it calculate the highest % group?!

    attached

    thanks
    Attached Files Attached Files

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

    Re: group percentages

    Percentage of what? What should the answer be for your example?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    02-17-2015
    Location
    Philippines
    MS-Off Ver
    2007
    Posts
    89

    Re: group percentages

    number 0-36 split into 3 groups - yellow, blue, green.

    if I entered 10 numbers from 0-36 I would like to know which colour group has most %

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

    Re: group percentages

    Most percent of what? The most numbers? The largest sum? Something else?

  5. #5
    Registered User
    Join Date
    02-17-2015
    Location
    Philippines
    MS-Off Ver
    2007
    Posts
    89

    Re: group percentages

    the most numbers. the sheet I attached should be easy to understand?

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

    Re: group percentages

    Once again, what is the expected result for your example?

  7. #7
    Registered User
    Join Date
    02-17-2015
    Location
    Philippines
    MS-Off Ver
    2007
    Posts
    89

    Re: group percentages

    Quote Originally Posted by shg View Post
    Once again, what is the expected result for your example?
    H3 box... enter a number - example 32 - D6 would say 100%

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

    Re: group percentages

    And it would say 100% because ... why?

  9. #9
    Registered User
    Join Date
    02-17-2015
    Location
    Philippines
    MS-Off Ver
    2007
    Posts
    89

    Re: group percentages

    because its the only number entered into H3 so far and that's in the yellow group

  10. #10
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: group percentages

    Quote Originally Posted by Micbrook View Post
    because its the only number entered into H3 so far and that's in the yellow group
    Does that mean, you plan to enter more than one number into H3 and need to keep track of how many times a number is 'hit' in each group?
    Remember, saying thanks only takes a second or two. Click the star icon(*) below the post you liked, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.

  11. #11
    Registered User
    Join Date
    02-17-2015
    Location
    Philippines
    MS-Off Ver
    2007
    Posts
    89
    Quote Originally Posted by GeneralDisarray View Post
    Does that mean, you plan to enter more than one number into H3 and need to keep track of how many times a number is 'hit' in each group?
    Correct, looking to see which group has most hits

  12. #12
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: group percentages

    Ok - in that case you will need to use an event macro for that worksheet, and make some kind of tracker column to add 1 each time a value is entered.

    Attached is an example. For the macro to fire, the you must type the number in cell H3 then press enter (or leave the cell).
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    02-17-2015
    Location
    Philippines
    MS-Off Ver
    2007
    Posts
    89

    Re: group percentages

    thats awesome thanks very much.

    dont suppose theres a way so it can automagically assign its own groups so if you entered 10 numbers it shows the optimal group?

  14. #14
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: group percentages

    do you mean - find the group with the highest percentage, or something else?

  15. #15
    Registered User
    Join Date
    02-17-2015
    Location
    Philippines
    MS-Off Ver
    2007
    Posts
    89

    Re: group percentages

    Highest percentage yes

  16. #16
    Registered User
    Join Date
    02-17-2015
    Location
    Philippines
    MS-Off Ver
    2007
    Posts
    89

    Re: group percentages

    so this would be the next x amount of spins (roulette wheel) and the new colours are new groups, red is the most hit group. can this be automatic so the sheet knows to look for a highest group of 12 or 13?
    Attached Files Attached Files

+ 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] (VBA) How Assign Column Cell To Corresponding Group, and Paste Group Cells into Groups WS?
    By eryksd in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-08-2016, 06:18 PM
  2. [SOLVED] Sum monthly percentages into quarterly percentages
    By Zyphon in forum Excel General
    Replies: 6
    Last Post: 06-11-2015, 04:40 AM
  3. Reversing input percentages against variable percentages.
    By Journeyman3000 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-26-2014, 08:56 PM
  4. Replies: 1
    Last Post: 02-10-2014, 10:26 PM
  5. Replies: 2
    Last Post: 01-18-2013, 12:45 PM
  6. How do I group worksheets (Lotus 123 function is "Sheet>Group Shee
    By Dave Peterson in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 09-06-2005, 09:05 PM
  7. [SOLVED] How do I group worksheets (Lotus 123 function is "Sheet>Group Shee
    By jaking in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-30-2005, 10:05 AM

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