hey guys,
i can't seem to solve this seemingly simple problem.
i want SUBTOTAL column to display what's below, by adding up all the cost of the main product.
i tried messing around with index and match with if, but can't get it all to work.
anyone with a simple solution?
file is attachedSUM until.xlsx
MAIN PRODUCT SUB PRODUCT COST SUBTOTAL
BREAKFAST 10 10
SERVICE 75
BAR 30
RECEPTION 45
DINNER 50 50
*SUBTOTAL IS DISPLAYED ONLY ON THE THE MAIN PRODUCT ROW
*SUBTOTAL IS CALCULATED BY SUM OF ALL COST UNTIL NEW PRODUCT IS ENCOUNTERED ON COLUMN A
Bookmarks