Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Everybody,
Can Somebody Please Help me with a Function. I have a Macro that Produces 6 Number Combinations. The First Number is Associated with Integer "A", the Second with Integer "B" and so on. I would like to be Able to Put a Range ( Using an "IF" Statement ) of Lexicographic ( Combination 1 Being 01-02-03-04-05-06 ) Sequence Numbers, so that a Combination Within that Range will be Accepted, and a Combination Outside that Range will be Ignored. The Excel Formula ( For a Combination of 6 Numbers in Cells O14:T14 ) is :- =COMBIN(49,6)-IF(44-O140,COMBIN(49-O14,6),0)-IF(45-P140,COMBIN(49-P14,5),0)-IF(46-Q140,COMBIN(49-Q14,4),0)-IF(47-R140,COMBIN(49-R14,3),0)-IF(48-S140,COMBIN(49-S14,2),0)-IF(49-T140,COMBIN(49-T14,1),0) Something Like ( as a Sequential Call ) :- If LexNumber 22500 And LexNumber < 50000 Then Function :- Function LexNumber() LexNumber = False *Code Will Go Here* Then LexNumber = True End Function Any Help would be Appreciated All the Best Paul |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
IF Function formula (I think?) | Excel Worksheet Functions | |||
IF Function formula | Excel Worksheet Functions | |||
Help with OR function in IF function formula | Excel Worksheet Functions | |||
IF Function and a formula | Excel Worksheet Functions | |||
A formula/function to return a formula/function | Excel Worksheet Functions |