Results 1 to 10 of 10

Thread: Any Excel VBA or Excel functions that can help with general lottery forecasting?
Thanks Thanks: 0 Likes Likes: 0

  1. #1
    New Member
    Join Date
    Aug 2019
    Posts
    4
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Default Any Excel VBA or Excel functions that can help with general lottery forecasting?

    Permission to post, admins...

    Mostly the posts here about the lottery concern with random number generation, with pick-3 games and with lotteries dealing with huge numbers (e.g. 5 out of 90). I am only concerned with general, simple lottery forecasting concerns.

    So, I'm wondering if anyone here knows some VBA formulas for the following tasks:
    a) Counting the frequency of each number in a lottery game

    b) Determine which are "hot" numbers, "cold" numbers and "overdue" numbers within a certain draw period in a lottery game

    c) Know how many times a number is paired with another number

    Hope you would consider helping me out in this...

  2. #2
    Board Regular jimrward's Avatar
    Join Date
    Feb 2003
    Location
    Kingdom of Fife
    Posts
    1,689
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Any Excel VBA or Excel functions that can help with general lottery forecasting?

    If we had the answer we would all be millionaires

  3. #3
    Board Regular jmacleary's Avatar
    Join Date
    Oct 2015
    Location
    at a desk in the UK
    Posts
    621
    Post Thanks / Like
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Any Excel VBA or Excel functions that can help with general lottery forecasting?

    It would be possible to generate analyses such as you refer to, but if its the UK lottery, then they already give that data - see https://www.national-lottery.com/lotto/statistics

    I would imagine other lottery runners would have similar data available.
    If my answer has helped, please vote using the Thanks or Like buttons on the left.
    John

  4. #4
    Board Regular Kyle123's Avatar
    Join Date
    Jan 2012
    Location
    Leeds, UK
    Posts
    2,641
    Post Thanks / Like
    Mentioned
    10 Post(s)
    Tagged
    2 Thread(s)

    Default Re: Any Excel VBA or Excel functions that can help with general lottery forecasting?


  5. #5
    MrExcel MVP
    Moderator
    Fluff's Avatar
    Join Date
    Jun 2014
    Location
    Chippenham
    Posts
    27,957
    Post Thanks / Like
    Mentioned
    467 Post(s)
    Tagged
    47 Thread(s)

    Default Re: Any Excel VBA or Excel functions that can help with general lottery forecasting?

    @angExcelentflea
    While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules).
    This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
    - Posting Data try one of these tools
    - Posting guidelines, forum rules and terms of use
    - Read the FAQs

    Running Office 365 on Win 10

  6. #6
    New Member
    Join Date
    Aug 2019
    Posts
    4
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Any Excel VBA or Excel functions that can help with general lottery forecasting?

    PS - Due to earlier circumstances, was forced to post this concern in other Excel forums. Here's the link to the other forum:
    https://www.mrexcel.com/forum/redire...ion-tasks.html

  7. #7
    New Member
    Join Date
    Aug 2019
    Posts
    4
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Any Excel VBA or Excel functions that can help with general lottery forecasting?

    Reply intended for Kyle123: Since I couldn't edit my original post, I included a note explaining why... It had something to do with some misunderstanding with the other forum and was badly in need of answers. If any original idea comes up here, the other guys will know...

    To admins: sorry if this post peeved you. Just wanted to make sure somebody will give ideas to my concern....

  8. #8
    Board Regular
    Join Date
    Mar 2014
    Posts
    2,427
    Post Thanks / Like
    Mentioned
    11 Post(s)
    Tagged
    1 Thread(s)

    Default Re: Any Excel VBA or Excel functions that can help with general lottery forecasting?

    Quote Originally Posted by jmacleary View Post
    if its the UK lottery, then they already give that data - see https://www.national-lottery.com/lotto/statistics
    Just a "random" observation (wink).... Be careful with your interpretation of the overall frequency table. That lottery changed from 1-to-49 to 1-to-59 in Oct 2015. That is why the frequency of 50-to-59 is so far out of line, not some inexplicable bias in the selection process.

  9. #9
    New Member
    Join Date
    Aug 2019
    Posts
    4
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Any Excel VBA or Excel functions that can help with general lottery forecasting?

    Reply for joeu2004:
    Interesting. So, does that mean the usual way of forecasting lottery won't apply to the 6/59 game?

    By the way, any idea what VBA formula or Excel function to use to get "hot", "cold" and "overdue" numbers?
    No other site I looked into gives any idea as to how...

  10. #10
    Board Regular
    Join Date
    Mar 2014
    Posts
    2,427
    Post Thanks / Like
    Mentioned
    11 Post(s)
    Tagged
    1 Thread(s)

    Default Re: Any Excel VBA or Excel functions that can help with general lottery forecasting?

    Quote Originally Posted by angExcelentflea View Post
    does that mean the usual way of forecasting lottery won't apply to the 6/59 game?
    First, my previous comment was specific to the UK lotto game. If you are not interested in the UK lotto game per se, ignore my comments.

    Second, I hope you know that there is no reliable way to "forecast" or predict the outcome of any specific lottery drawing.

    And none of the statistics like the ones at https://www.national-lottery.com/lotto/statistics will improve your odds of matching a specific drawing.

    (The only way to improve your odds of matching is to purchase more tickets, each of which is different.)

    That said, you have to pick 6 numbers from 1-to-59 somehow. And any method is as good as another, because all combinations (tickets) have the same probability of matching a specific drawing.

    My previous comment relates to the fact the UK lotto changed from 6/49 to 6/59 after 8 Oct 2015 (Thu).

    But the statistics at https://www.national-lottery.com/lotto/statistics cover "20 years". (Actually, apparently at least back to 27 Dec 1995.)

    Consequently, some statistics are misleading.

    For example, the 6 least-often drawn numbers are all in the 50s because those numbers were available to be drawn only in the last 400 of the 2465 drawings that are covered by the statistics. Well, duh!

    For the same reason, the total frequency of the numbers in the 50s are significantly lower than 1-to-49.

    In fact, IMHO, the only valid statistic is the "most overdue numbers", since that seems to mean only the most number of days since last drawn.

    Quote Originally Posted by angExcelentflea View Post
    any idea what VBA formula or Excel function to use to get "hot", "cold" and "overdue" numbers?
    It is certainly doable. Some statistics can be calculated with Excel formulas alone. Some are best done using VBA procedures.

    Before anyone can help you, you need to specify the lotto that you are interested in, or its parameters.

    Such calculations are fun. But I'm afraid that I should not take the time to participate.

    Good luck!

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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