Excel Formula Flag Triggering -


what i'm trying in excel figure out way trigger flag after condition has been met.

e.g. have numbers , b. static while b changes. have flag f false. when b>a, f changes true , stays true regardless of future value of b.

i trying circular reference, couldn't initial value out of it. possible while using formulas? i've been trying avoid using vba. or point in right direction appreciated.

thanks

a formula based solution circular references , allowing iterations messy. if can find can create in first place, after while nobody remember , how maintain it.

vba writes value cell condition met more reliable , maintainable way.

the code along lines of

private sub worksheet_change(byval target range) if not intersect(target, range("b1")) nothing     if range("f1") = false         if range("b1") > range("a1") range("f1") = true     end if end if  end sub 

Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -