+ Reply to Thread
Results 1 to 7 of 7

Find out 10 numbers not drawn

  1. #1
    Registered User
    Join Date
    11-12-2010
    Location
    são paulo, brazil
    MS-Off Ver
    Excel 2007
    Posts
    25

    Find out 10 numbers not drawn

    Hi,

    I have a lottery worksheet showing the 15 dozen drawn and would like to find out the 10 dozen that were not drawn.
    The numbers are from 1 to 25.

    123.JPG

    Thank you!

    lotofácil_10 números restantes.xlsx

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,934

    Re: Find out 10 numbers not drawn

    In S2:

    =SMALL(IF(ISNA(MATCH(COLUMN($A1:$Y1),$C2:$Q2,0)),COLUMN($A1:$Y1)),COLUMN(A1))

    ... confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Then drag copy across.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    11-12-2010
    Location
    são paulo, brazil
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Find out 10 numbers not drawn

    AliGW, Good Morning!

    I tried to use the code that you give me but the code isn't work.
    Please, see the picture.
    Can you to put on the code on spreedsheet?

    Attachment 649397

    Thank You

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Find out 10 numbers not drawn

    Hi rafa,

    Here is Ali's answer on a spreadsheet.

    AliGWs Answer.xlsx
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,934

    Re: Find out 10 numbers not drawn

    Thanks, Marvin.

    The OP probably needs semi-colons instead of commas for their loacle:

    =SMALL(IF(ISNA(MATCH(COLUMN($A1:$Y1);$C2:$Q2,0));COLUMN($A1:$Y1));COLUMN(A1))

  6. #6
    Registered User
    Join Date
    11-12-2010
    Location
    são paulo, brazil
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Find out 10 numbers not drawn

    Thank You, Marvin and AliGW.

    The code is working perfectlly.

    Rafael

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,934

    Re: Find out 10 numbers not drawn

    It’s not code, it’s a formula.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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. 'Top 3' drawn from master list
    By jraward in forum Excel General
    Replies: 1
    Last Post: 02-10-2017, 06:00 AM
  2. [SOLVED] Determine the numbers for lottery and how many will be drawn
    By marreco in forum Excel General
    Replies: 6
    Last Post: 12-11-2012, 08:48 AM
  3. Count if the given numbers were drawn in lottery
    By Bishonen in forum Excel General
    Replies: 3
    Last Post: 11-20-2012, 02:18 AM
  4. [SOLVED] When a number has been drawn last time ?
    By Mr.Nob0OOdy in forum Excel General
    Replies: 11
    Last Post: 06-24-2012, 06:48 AM
  5. Drawn Items in Formulas?
    By xcelentform in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-15-2008, 06:28 PM
  6. Invisible drawn objects
    By tschultz in forum Excel General
    Replies: 0
    Last Post: 05-10-2005, 01:04 PM
  7. [SOLVED] Drawn Objects do not Appear
    By John in forum Excel General
    Replies: 1
    Last Post: 05-10-2005, 12:28 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