I am having a problem with finding the MIN, MAX, and MEDIAN of a formula generated Binary List from a Lexicographic Index Number. Actually it sounds a lot harder than it is.
I have a list of formula generated Lexicographic Index Numbers [ Combination Sequence Numbers ] in cells DK16:DK3100. I have successfully generated the Binary Number for each of these. The Binary Number cells are in DM16:DM3100 and are formatted for 24 numbers [ for the respective zeros and ones of course ].
So far so good as that all works great.
I want to find the MIN, MAX, and MEDIAN of the range DM16:DM3100. I have used the below ARRAY formulas but just can't seem to get it to work as the MIN, MAX, and MEDIAN values all show 000000000000000000000000. The ARRAY formulas I am using are . . .
Code: Select all
In cell DM5: =MIN(IF(ISNUMBER(LEFT(DM$16:DM$3056;24)+0);LEFT(DM$16:DM$3056;24)+0))
In cell DM7: =MAX(IF(ISNUMBER(LEFT(DM$16:DM$3056;24)+0);LEFT(DM$16:DM$3056;24)+0))
In cell DM9: =MEDIAN(IF(ISNUMBER(LEFT(DM$16:DM$3056;24)+0);LEFT(DM$16:DM$3056;24)+0))I think I have got to the stage where I can't see the wood for the trees.
Thanks in advance for any help. It is appreciated.