Ms excel problems

Sir i have some doubts regards this. What if i have to calculate the whole till date profit then how can i calculate