M
MJSlattery
Hi:
I have 15 adjacent cells in a row and they will allways contain th
value zero with two exceptions. Two of these cell will have a value o
1.
Here is my problem. I need to return the value of 3 if they ar
adjacent cells, i.e., (0,0,0,1,1,0,0,0) the value 2 if there is on
zero cell between them, (0,0,0,0,0,1,0,1,0) and the value 1 if ther
are two zero value cells between the two cells containing ones
(0,0,0,0,0,1,0,0,1,0,0,0).
I have scoured two forums trying to find a soultion to this and nothin
comes close.
It can go into vba if necessary but would prefer to keep it in excel.
Thanks, Michae
I have 15 adjacent cells in a row and they will allways contain th
value zero with two exceptions. Two of these cell will have a value o
1.
Here is my problem. I need to return the value of 3 if they ar
adjacent cells, i.e., (0,0,0,1,1,0,0,0) the value 2 if there is on
zero cell between them, (0,0,0,0,0,1,0,1,0) and the value 1 if ther
are two zero value cells between the two cells containing ones
(0,0,0,0,0,1,0,0,1,0,0,0).
I have scoured two forums trying to find a soultion to this and nothin
comes close.
It can go into vba if necessary but would prefer to keep it in excel.
Thanks, Michae