A B C D E ItemID weight Service Eventdate weightgain or lost(Col B) 16568906 24 Programme 05/10/2015 16568906 24 Trainer 05/10/2015 0 16568906 29 Programme 28/01/2016 5 16568906 29 Trainer 28/01/2016 0 168906 23 Trainer 29/01/2016 168906 20 Trainer 30/01/2016 -3 1656890610 28 Programme 05/10/2015 1656890610 35 Programme 06/10/2015 7 1656890610 30 Programme 07/10/2015 -5
=IF(A1=A2,B2-B1)
E
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)