good ole if function on changing values ??
Posted by mike spradau on February 19, 2001 7:30 AM
hi,
i try to solve the following problem:
i have got the following data:
a1 1
a2 2
a3 3
a4 4
a5 5
b1 1
b2 0
b3 2
b4 0
b5 7
i want column c to show:
c1 =if(b1=0, {this is where i do not know further}
'next value down in b (By) minus next value
up in b (Bx) divided by y value a(Ay) next to
By minus Bx times b1'
,b1)
clearer, this is what i want to see:
c1 =b1 ie. = 1
c2 =(b3-b1)/(a3-a1)*b2 ie. = 1.5
c3 =b3 ie. = 2
c4 =(b5-b3)/(a5-a3)*b4 ie. = 4.5
c5 =b5
important is that the zero values and all the other values can change their position.
your help is much appreciated !
rgds,
mike.