i have uploaded a sample file
i want to calculate remaining amount and opportunity cost based on fifo method if any one can help regarding this would be glad.
basically there are inward entry and outward entry
i want to calculate remaining amount the outward entries must subtract itself from the first entry and then on that basis i want to calculate opportunity cost.