+ Reply to Thread
Results 1 to 4 of 4

Matrix formula for 8 numbers (last delay and longest drawn)

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

    Matrix formula for 8 numbers (last delay and longest drawn)

    Hi, Everyone!

    I would like to know How to make a matrix formula to Count amount of 8 ball repetitions. In my case, I know the total number of 8 balls repetitied, but I don't have a matrix formula to know how many times the game has been last drawn and longest delay.

    See my spredsheet below:
    Lottery_Again.JPG

    Lottery_Again.xlsx

    Thank you,
    Rafael
    Attached Files Attached Files

  2. #2
    Forum Expert Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    Office 365
    Posts
    3,419

    Re: Matrix formula for 8 numbers (last delay and longest drawn)

    Please try at
    K2
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    N2
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

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

    Re: Matrix formula for 8 numbers (last delay and longest drawn)

    Thank You! Bo_Ry

    I am trying to understand the formulas.

    Regards,
    Rafael

  4. #4
    Forum Guru XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,190

    Re: Matrix formula for 8 numbers (last delay and longest drawn)

    Hi,

    FYI Bo_Ry's formulas can be simplified to:

    K2:

    =LOOKUP(2,1/(MMULT(COUNTIF(A2:H2,a!$C$1:$Q$2000),ROW(A$1:A$15)^0)=8),a!$A$1:$A$2000)

    N2:

    =MAX(MMULT(AGGREGATE(15,6,ROW(a!$C$1:$Q$2000)/(MMULT(COUNTIF(A2:H2,a!$C$1:$Q$2000),ROW(Z$1:Z$15)^0)=8),ROW(Z$1:INDEX(Z:Z,I2-1))+{1,0}),{1;-1}))

    Neither of these requires CSE.

    @Bo_Ry

    You don't need CSE or an additional, coercing INDEX function in either case, even in your original formulas: MMULT is powerful enough on its own!

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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