+ Reply to Thread
Results 1 to 12 of 12

HELP with programming an excel problem

  1. #1
    Registered User
    Join Date
    11-24-2015
    Location
    London, England
    MS-Off Ver
    Home and Student - GZA-00276
    Posts
    8

    Talking HELP with programming an excel problem

    Hi everyone! Im new here, so im sorry if this is the wrong place to put my questions ... Anyway, i want to win the lottery ! ha ha who doesnt right? To win this particulary lottery , i need to strike 6 numbers of 60 . And the lottery choose always 6 numbers , 1 to 60 . Sorry for my poor english. I want to build a program that can read older sequences that been already sorted , and fragment the numbers, and tell me what numbers (to 0 to 9) doesn't show up. For exemple , in the sequence 01/12/14/23/39/55 , i want that the program read the sequence and fragment the numbers, 0 1 1 2 1 4 2 3 3 9 5 5 , and return to me the numbers that doesn't show up, in this case 6/7/8. Please help ! Anyone can give me any tips ?
    Last edited by yamboe; 11-26-2015 at 01:31 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Hello World - please help

    Hello and welcome to the forum

    Unfortunately yYour post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    11-24-2015
    Location
    London, England
    MS-Off Ver
    Home and Student - GZA-00276
    Posts
    8

    Re: Hello World - please help

    Richard Buttrey the title is better ? Can you help my problem?

  4. #4
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: HELP with programming an excel problem

    The most reliable way to win the lottery is to use insider knowledge to predict which ream of tickets the algorithm will stick the winning ticket in, and then drop 10 large to buy the whole ream.

    This is, of course, usually illegal.

    I mean, we can help you decomposing the digits, but I strongly predict that the result will just be an even distribution across all ten digits 0 - 9.

    You will not be winning the lottery this way.

    Statistically, you're better off aiming for high numbers, like in the 70 - 99 range.

    Not because this is more likely to win, but because people tend to pick birthdays / ages / etc, so in the unlikely event you do win, the ROI on high numbers is better (well, less bad, technically; it's still below 1 on average) because they are split between fewer people.
    Click the [* Add Reputation] Button to thank people for help!
    Post Attachment: Click [Go Advanced] under the reply box; then click [Manage Attachments] to launch the attachments dialogue.
    Mark Thread Solved: Go to the top of the first post; Select [Thread Tools] dropdown; Pick the [Mark thread as Solved] option.

  5. #5
    Registered User
    Join Date
    11-24-2015
    Location
    London, England
    MS-Off Ver
    Home and Student - GZA-00276
    Posts
    8

    Re: HELP with programming an excel problem

    Ben hensel thank you for the reply!
    well , if winning the lottery was easy , they would call charity instead. hahaha . to 01- 60 , the 0 apears 15 times , number 1 , 2, 3 ,4 , 5 appears 16 times, number 6 appears 7 times, and numbers 7, 8, 9 just 6 times. So yeah, i beliave that if i do this small program , the results will show an distribution according to this numbers.However, can you help me to do this program? And, if you have a better idea of predicting the numbers or better ways to do the statistic , please tell me =D

  6. #6
    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: HELP with programming an excel problem

    I suggest you start with a warm-up exercise that requires nothing but pencil and paper.

    Toss a coin 10 times and record the results. Predict the result of the 11th toss, then toss and record the result.

    Repeat 100 times.

    What fraction of the time was your prediction correct?
    Entia non sunt multiplicanda sine necessitate

  7. #7
    Registered User
    Join Date
    11-24-2015
    Location
    London, England
    MS-Off Ver
    Home and Student - GZA-00276
    Posts
    8

    Re: HELP with programming an excel problem

    shg hahaha you are a funny boy!

  8. #8
    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: HELP with programming an excel problem

    If you don't see the parallel, I have a bridge you may be interested in buying.

  9. #9
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,827

    Re: HELP with programming an excel problem

    I don't know exactly what you will do with the information. Ignoring the "lottery" part of the question, your question is to determine which digits in a series of two digit numbers are not used. Here's how I think I would approach this problem:

    1) Convert numbers to text strings. =TEXT(1,"00")
    2) Use LEFT() and RIGHT() functions to separate into digits. =LEFT("23",1)
    3) Use the FREQUENCY() (or COUNTIF()) function to count how many of each digit are used.
    4) Any 0 results from step 3 are the digits that are not used.

    What part of programming that would you need help with?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  10. #10
    Registered User
    Join Date
    11-24-2015
    Location
    London, England
    MS-Off Ver
    Home and Student - GZA-00276
    Posts
    8

    Re: HELP with programming an excel problem

    hahhahhaha i see very well. Thanks for the reply . I don't want to buy a bridge , i already made one in my city that cares my name. Im an engeneer , and i known that predicting a winner ticket is even more dificult than the exercise that you propose. However, i'd like to do this program even so , because im doing a statistic course and would like to put somethings that i learned into practice. Can you help me to build this program shg?

  11. #11
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: HELP with programming an excel problem

    Quote Originally Posted by yamboe View Post
    ..because im doing a statistic course and would like to put somethings that i learned into practice.
    Purely out of interest has it been suggested in the statistics course that when you get a result that it will be in any way significant let alone a predictor?

    Your whole question has shades of Benson's Law (aka the First digit law) entwined in it. Is that what's behind what is essentially a statistics question?

  12. #12
    Registered User
    Join Date
    11-24-2015
    Location
    London, England
    MS-Off Ver
    Home and Student - GZA-00276
    Posts
    8

    Re: HELP with programming an excel problem

    thank you mr. shorty!

+ 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. World Cup Group Ranking (Yes I know, another World cup Thread)
    By ian.clark in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-12-2014, 07:01 AM
  2. Hello, World
    By doraemonpetch in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 04-16-2013, 09:08 AM
  3. Hello World!
    By trlofthouse in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 04-15-2013, 01:42 PM
  4. Roy from WI says Hello World
    By pyroy65 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 03-20-2013, 01:20 AM
  5. Hello World
    By sir.york in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 03-18-2013, 09:14 AM
  6. Hello World
    By The Bidds in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 03-15-2013, 05:18 AM
  7. Hello World!
    By Watney99 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 03-12-2013, 09:21 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