put the value of the sum in a spare cell first, then on worksheet change which will start the macro, compare the sum against the stored value, use a IF or similar decision filter and use that to direct which code is called. at the end be sure to reupdate the stored value, and also code for what happens should the total not change