Hi,
I am having an assignment that requires excel to solve. I have 8x2 range cells, lets say A1:B8
The contents in A1:A8 are binary (0 or 1) in a random order, lets say 1 1 0 0 1 1 0 1. The contents in B1:B8 are also binary, they must check the corresponding cell above, if the value is 1 and cell before is 0 then the value in Bx is 1, otherwise 0. So in other words, the value of B1:B8 will be 1 0 0 0 1 0 0 1. Note that A1 and B1 is always 1.
If I'm using formula, the value of B2 will be =IF(AND(A1=0,A2=1),1,0), and copy to the rest of B. But the problem is I am not allowed to use any IF function. So it should be based on mathematical operation (+ - x /). Anyone can solve this?Thanks a lot
Bookmarks