Issue getting formula to recalculate on variable change