A1 is 95 and if it changes to 96 then I want B1 to
increase what ever the number is in B1.
English language correction.... I think you mean: if A1 is 95 and B1
is 96, you want C1 to be B1 plus the difference between A1 and B1.
Right? At least, that requirement seems to be consistent with the
pseudocode you write below.
(You do not want to detect a change in A1 ("if __it__ changes to
96"). And you do not want to change the value in B1 based on its
value before the change ("want __B1__ to increase whatever the number
is in __B1__").)
If A1 number changes to 94 then i want B1 number to
decrease. Would it be a formula like =If(B1<than A1 then B1-1,"
if B1>than A1 than B1+1) i dont know.
Well, I think that would be simply:
C1: =B1+(B1-A1)
But I am not sure you are properly communicating your true
requirements. The requirements specified here sounds very difference
from the requirements that you specify in the "gain-loss" thread (but
then again, the latter requirements were never clearly stated either,
IMHO). And I suspect these two threads are related. ;-)
it would be nice if i could just send you a copy of
the spreadsheed so you can see what i'm trying to do.
IMHO, that would not help. You simply need to post the existing
formulas in relevant cells, the current outcome that is presumably
wrong, and the desired outcome for at least two complementary
examples, and perhaps more than two.
For example, in this thread, you say that you might want C1 to be B1
plus or minus when B1 is one more or less than A1. But I wonder
(again, partially influenced by my dubious interpretation of the "gain-
loss" thread) if you really want C1 to be B1 plus the percentage
change from A1 to B1, not the cardinal number change.
In other words, what if A1 is 100 and B1 is 90. Do you want C1 to be
80 (B1-10)? Or do you want C1 to be 81 (10% less than B1, because B1
is 10% less than A1)?
And if neither of those is right, what am I misunderstanding?
----- original posting -----