Thanks Venkat. But i am trying to sum after insert a new row when the unique value is change. Can you help me please.