how to shift from one formula to another