Hi @ColonialCousin that formula worked beautiful for the first trade on ANO, but when I applied it to third trade on EMV it did not work for some reason.Maybe it has something to do with the trade fee set in cell E19Also would this formula work the same way if my initial purchase was over $1000?See screen shot