Check previous powerball results with your numbers

askall1000

Board Regular
Joined
Jan 3, 2019
Messages
58
Office Version
  1. 2016
Platform
  1. Windows
Hi,
Can you help me for the desired result for the column highlighted green. Thank you very much in advance. And please don't play the numbers :)

Book1
ABCDEFGHIJKLMN
2my numbers
3123456
4234567
5345678
6456789
75678910
8111213141516
9Previous ResultsRequested result
101234565+1
11565758252670+1
122345685+0
Sheet1
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Why is the yellow eight a zero? If your own numbers are sorted ascending like in your sample, this will work

Book1
ABCDEFGHIJKLMNO
1my numbers
2123456
3234567
4343678
5456789
65678910
7111213141516
8
9Previous ResultsRequested result
101234565+15+1
11565758252670+10+1
122345685+05+1
13….
Sheet1
Cell Formulas
RangeFormula
H10:H12H10=MAX(MMULT(IF(SORT(A10:E10,,,1)=$I$2:$M$7,1,0),{1;1;1;1;1}))&"+"&COUNTIF($N$2:$N$7,F10)
 
Upvote 0
Both the results as your numbers could be unsorted here

Book1
ABCDEFGHIJKLMN
1my numbers
2153426
3234567
4373648
5456789
65687910
7141215111316
8
9Previous ResultsRequested result
101234565+15+1
11565758252670+10+1
122345685+05+1
Sheet1
Cell Formulas
RangeFormula
H10:H12H10=MAX(MMULT(COUNTIF(A10:E10,$I$2:$N$7),{1;1;1;1;1;1}))&"+"&COUNTIF($N$2:$N$7,F10)
 
Last edited:
Upvote 0
Solution
Why is the yellow eight a zero? If your own numbers are sorted ascending like in your sample, this will work

Book1
ABCDEFGHIJKLMNO
1my numbers
2123456
3234567
4343678
5456789
65678910
7111213141516
8
9Previous ResultsRequested result
101234565+15+1
11565758252670+10+1
122345685+05+1
13….
Sheet1
Cell Formulas
RangeFormula
H10:H12H10=MAX(MMULT(IF(SORT(A10:E10,,,1)=$I$2:$M$7,1,0),{1;1;1;1;1}))&"+"&COUNTIF($N$2:$N$7,F10)
Yes, you are right, omitted it. thank you very much your help, if i win, i will treat you whatever you want! Promise!! :)
 
Upvote 0
haha goodluck! And you are welcome
 
Upvote 0

Forum statistics

Threads
1,223,640
Messages
6,173,503
Members
452,517
Latest member
SoerenB

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top