I have (n) Packets containing (x) sheets (1 Packet = x Sheet) where (both x and n are integers). Now I want to sale by Packet and By Sheet I created an excel file but I am very confused on how to create an equation.
for example: 4 Packets each containing (5 sheets), total Sheets = 4 * 15 = 20
Case1: I sold 1 Packet and 2 Sheets
Case2: I Sold 1 Sheet Only
Case3: I Sold 1 Packet and 1 Sheets
Balance:
4 Packets - 2 Sold = 2 Packets
(4*5=20) Sheets - 4 Sheets = 16 Sheets
Total Sold = 2 Packets (5 Sheet) + 4 Sheets = 10 + 4 = 14 Sheets It means that (Balance = 20 Sheets - 14 Sheets = 6 Sheets) Only 1 Packet and 1 Sheet remaining.
How to create an equation to update the balance after each transactions?