Hi everyone i have this problem, i want to susbstract the last value of observed in a row with the starting value and divide it by the number of cells with values present for example:
Day1 day2 day3 day4 day5
3 2 1 1 1
3 4 NA NA NA
5 6 7 NA NA
7 8 9 10 12
For: First one the value is (1-3)/5 Second one the value is (4-3)/2 Third one the value is (7-5)/3 Fourth one the value is (12-7)/5
And save all values in a new column