+ Reply to Thread
Results 1 to 16 of 16

formula for my lotto bonus number game

  1. #1
    Forum Contributor
    Join Date
    11-26-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    455

    formula for my lotto bonus number game

    Hi how can i get my sheet to check staff lotto numbers if they have the bonus number

    what i want
    1 staff will pick 6 numbers
    2 if they have the bonus number in their picks then it will highlight it or grey it out
    3 this way i can see who is closest to winning

    please see attachment
    Attached Files Attached Files

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: formula for my lotto bonus number game

    I used CF to achieve what you wanted. See attached
    dougers1-formula-for-my-lotto-bonus-number-game-lotto.xlsx
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Forum Contributor
    Join Date
    11-26-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    455

    Re: formula for my lotto bonus number game

    Hi gmr4evr1

    can you sort it so that i can add new bonus number and the old one stay highlighted. at the moment if i enter 17 then all the 17 get highlighted but if i enter new number 17 then become un highlighted- also is it possible to for a reset button i could hit once i have a winner


    Thanks

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,106

    Re: formula for my lotto bonus number game

    select B2:G23
    then use conditional formatting
    and the formula

    =B4=$K$5
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  5. #5
    Forum Contributor
    Join Date
    11-26-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    455

    Re: formula for my lotto bonus number game

    etaf this still only allows me to highlight the current number ,once i add a new bonus number the old one revert back to normal, i would like it to stay highlighted -- a bit like bingo i suppose

  6. #6
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,106

    Re: formula for my lotto bonus number game

    i was creating the spreadsheet as others answered - so did not see your later questionn

    it could be setup to do different or the same colours if you added the bonus ball in cells
    K5
    K6
    K7
    etc and then clear them when you want to reset
    otherwise you will need VBA - not my expertise
    Last edited by etaf; 08-07-2016 at 01:10 PM.

  7. #7
    Forum Contributor
    Join Date
    11-26-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    455

    Re: formula for my lotto bonus number game

    yeah thats sound like a better way -

  8. #8
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,106

    Re: formula for my lotto bonus number game

    just add a rule for each you want a new entery

    whats the max number ?

  9. #9
    Forum Contributor
    Join Date
    11-26-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    455
    Quote Originally Posted by etaf View Post
    just add a rule for each you want a new entery

    whats the max number ?
    Lotto numbers are 1 to 59

  10. #10
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,106

    Re: formula for my lotto bonus number game

    no , i meant the cells with bonus balls entered
    K5,6,7,etc
    Attached Files Attached Files
    Last edited by etaf; 08-07-2016 at 01:45 PM.

  11. #11
    Forum Contributor
    Join Date
    11-26-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    455

    Re: formula for my lotto bonus number game

    that would depend on as the same number could come out twice, i had a look at you CF and changed it to =COUNTIF($K$5:$K$100,B4)>0

    that should cover it

    Thank You

  12. #12
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: formula for my lotto bonus number game

    I've added a "Reset" button added to etaf's solution.
    lotto_etaf1 V3.xlsm

  13. #13
    Forum Contributor
    Join Date
    11-26-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    455

    Re: formula for my lotto bonus number game

    Thank you both this is brilliant

  14. #14
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: formula for my lotto bonus number game

    No problem.

  15. #15
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,106

    Re: formula for my lotto bonus number game

    you are welcome

  16. #16
    Registered User
    Join Date
    09-02-2019
    Location
    Middle Earth
    MS-Off Ver
    365
    Posts
    1

    Re: formula for my lotto bonus number game

    Hi Guys,

    i know this is an old post - but i am looking for the exact same excel solution, i have downloaded the last sheet shared by gmr4evr1 and have to say it works amazingly.
    However i would need the ranges of the drawn bonus nall numbers K5, K6, K7 etc... to be a greater range.i would need it expanding to enter numbers down to around K60 as we dont knwo how many weeks each bonus bingo will go on for. the current sheet seems to stop at 12 numbers. i cant see any formulars in any of the cells so i can change it myself?
    Thanks for any support.

+ 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. Forecast Bonus Calculator - Require a formula to calculate the bonus' due
    By The_Snook in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-05-2013, 07:32 PM
  2. Replies: 3
    Last Post: 08-28-2012, 03:54 AM
  3. Lotto number search
    By sharkman992000 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-20-2006, 02:37 AM
  4. Lotto Number Checker
    By clash in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-09-2005, 12:05 AM
  5. Lotto Number Checker
    By clash in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-08-2005, 08:05 AM
  6. Lotto Number Combinations
    By jgp in forum Excel General
    Replies: 0
    Last Post: 02-06-2005, 05:58 AM
  7. Lotto Number Array
    By Chambersteacher in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-01-2005, 05:06 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