serge
Well-known Member
- Joined
- Oct 8, 2008
- Messages
- 1,446
- Office Version
- 2007
- Platform
- Windows
Hi everyone,
I need someone help to find a combination of 5 numbers FROM a Lexicographic number ?
In cell A1:E1 I have those numbers : 1-2-3-4-5.
In cell : G1 I have this formula :
=COMBIN(56,5)-IF(52-A1>0,COMBIN(56-A1,5),0)-IF(53-B1>0,COMBIN(56-B1,4),0)-IF(54-C1>0,COMBIN(56-C1,3),0)-IF(55-D1>0,COMBIN(56-D1,2),0)-IF(56-E1>0,COMBIN(56-E1,1),0)
Which give me in return the Lexicographic 1 for that combination.
If I change my numbers from A1:E1 to 52-53-54-55-56.
G1 would return the Lexicographic : 3 819 816.
Now my question is :
I need it the other way around, which formula should be use in A1:E1, if I TYPE in G1 the Lexicographic number ???
Thank you in advance.
Serge.
I need someone help to find a combination of 5 numbers FROM a Lexicographic number ?
In cell A1:E1 I have those numbers : 1-2-3-4-5.
In cell : G1 I have this formula :
=COMBIN(56,5)-IF(52-A1>0,COMBIN(56-A1,5),0)-IF(53-B1>0,COMBIN(56-B1,4),0)-IF(54-C1>0,COMBIN(56-C1,3),0)-IF(55-D1>0,COMBIN(56-D1,2),0)-IF(56-E1>0,COMBIN(56-E1,1),0)
Which give me in return the Lexicographic 1 for that combination.
If I change my numbers from A1:E1 to 52-53-54-55-56.
G1 would return the Lexicographic : 3 819 816.
Now my question is :
I need it the other way around, which formula should be use in A1:E1, if I TYPE in G1 the Lexicographic number ???
Thank you in advance.
Serge.