No a spreadsheet is not the answer here! 100% backwards thinking as a solution (I mean if FT has that as a solution). The solution here is, we have the loss/gain figure when we fully sell off a position. Store that in a field, in a table and make it visible to us. Come on freetrade!