Formula adjustment Please !

serge

Well-known Member
Joined
Oct 8, 2008
Messages
1,357
Office Version
  1. 2007
Platform
  1. Windows
When I put the Lexicographic number in G1 and press enter it return in A1:E1 the combination, but here something is wrong somewhere.

Because I get two 31 in D1 and E1 usually it works fine.

I guess something is not right in the table in M:R which is used for the calculations.

I have to put a link because it would be to complicated to explain.

https://app.boxcn.net/s/tq00hhdlvtjo1bo463tgrsqa5h0kdht6

Or maybe someone have a better way to calculate the Lexicographic number ?

Thank you for any help.
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Here is the Excel file display if people don't want to download the file.

Highlight the cell M1:R1 and scroll down until you rich 39 in column R.
Excel Workbook
ABCDEFGHIJKLMNOPQR
1614253131325371KNc(n,k)000011
2539575757000122
3Change Lexi Here001333
4014644
515101055
6615201566
7To adjuste the game just change the balls number here2135352177
85670562888
9126126843699
10252210120451010
11462330165551111
12792495220661212
131287715286781313
1420021001364911414
15300313654551051515
16436818205601201616
Sheet
 
Upvote 0
Can someone look at it please and see if the problem could be fix ?
Or I wouldn't mind having a macro doing the same work.

Thank you.
 
Upvote 0

Forum statistics

Threads
1,203,755
Messages
6,057,158
Members
444,908
Latest member
Jayrey

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