Hi anonymousgirl,
To do so, you can make a table to record per day as shown in the picture below:
Note: The numbers are examples, so don't copy them.
After you finish the information (name and price) of all the drugs and patients, you should first make a copy of it. Then in the cell I3 (in this example), enter the formula:
=SUMPRODUCT($B$2:$H$2,B3:H3); enter
=SUM(B3:B11)*B2 in the cell B12 (in this example).
Note that you should change
$B$2:$H$2,
B3: H3 та
B3: B11 according to the actual ranges in your table. (The dollar signs added to the range reference make the it absolute, so do not delete them.)
After entering the two formulats, drag or copy the cell I3 to below cells, drag or copy the cell B12 to right cells.
Then you can record for the day and see the consumptions automatically updated.
Сподіваюся, це може вам допомогти.
Аманда