instead of showing us a non-working formula made up by some dopey machine, it would have been more helpful to tell us what you want the formula to do.
A guess:
=(INDEX(D:D,AGGREGATE(14,6,ROW(D$8:D$19)/(D$8:D$19<>""),1))-D8)/D8
copied across. But this gives the same result as row 20... so who knows what you expect to see???
Bookmarks