Softwiro
Free Excel template

Pharmacy management sheet: sales, purchases, shortages and suppliers

A free Excel sheet for running a pharmacy. Enter your items with their prices and minimum levels, then supplier invoices with purchased quantity, bonus quantity and discount, then daily sales, paid in cash or with a share paid by a contracted payer. The sheet works out each item's stock balance, the actual unit cost after bonus and discount, and gross profit for each category. It produces a shortages list with a suggested order quantity and its cost, and shows each supplier's account: purchases, payments and what is still owed. The sheet is for accounts and stock only. It has no doses or therapeutic information, and expiry dates have a separate sheet.

Excel file (.xlsx) · 229 KB · 11 tabs · works in Excel and Google Sheets · no sign-up

The workbook is in Arabic (right-to-left, Arabic tab and column names). This page explains every tab in English.

The blank copy has the same formulas, charts and lists without the example data; categories and settings are ready.

Try the sheet here, on the example

The sheet is open below with sample numbers. Change any white cell and watch the results update, or press the blank-copy button to type your own data from scratch. Nothing you type leaves your browser.

Example from the sheet

Example from the “الأصناف” tab (Arabic), with the numbers and formulas that are in the file.
الكودالاسم التجاريالتصنيفرصيد افتتاحيالمستلم (شامل البونص)الرصيد الحاليتكلفة الوحدة الفعليةقيمة المخزون (تكلفة)الحالة
P001ألفاكير شريط 10 أقراصأدوية بدون وصفة301983515.87555.39ناقص
P002بيتازين شراب 100 ملأدوية بدون وصفة15843429.411,000.08متوفر
P003كلوريفا كبسولاتأدوية بوصفة12583974.682,912.46متوفر
P004دلتاميد أقراصأدوية بوصفة82019130.002,470.00متوفر
P005زيتافيت فيتامينات 30 قرصفيتامينات ومكملات10303287.882,812.00متوفر
P006أوميجا بلسفيتامينات ومكملات6323145.26435.79ناقص
P007كمامات طبية 50 قطعةمستلزمات طبية251109437.043,481.48متوفر
P008شاش معقممستلزمات طبية401004912.00588.00متوفر
P009جهاز قياس ضغطمستلزمات طبية442650.001,300.00ناقص
P010كريم ترطيب 50 جمعناية بالبشرة والشعر10521751.01867.14متوفر
P011شامبو للعناية 200 ملعناية بالبشرة والشعر1426064.400.00نفد
P012لبن أطفال مرحلة 1أطفال ورضع84014190.002,660.00متوفر
P013حفاضات أطفالأطفال ورضع105518110.771,993.85متوفر

Example from the “الأصناف” tab (Arabic), with the numbers and formulas that are in the file.

What is inside

  • الإعدادات: Settings: any date inside the summary month, the first month of the monthly table, the multiplier on the minimum level for order quantity, and the item categories (up to 8).
  • الموردون: Suppliers: each supplier's name and mobile, with their number of invoices, net purchases, units received, amount paid, balance owed and status. Holds up to 50 suppliers.
  • الأصناف: Items: code, trade name, category, unit, list purchase price, selling price, minimum level, usual supplier and opening balance. It then shows received, bonus, sold, current balance, actual unit cost, stock value, profit margin, status and order quantity. Holds up to 200 items.
  • المشتريات: Purchases: one row per item on a supplier invoice with date, invoice number, supplier, code, quantity bought, bonus, unit price and discount percentage. The sheet works out total units, discount value, net row amount, actual unit cost and bonus value. Holds up to 400 rows.
  • المبيعات: Sales: one row per sale with date, code, quantity, payment type (cash or contract), discount percentage and the payer's percentage. The sheet works out the selling price, net sale, the payer's share, what the customer pays, cost and gross profit. Holds up to 900 rows.
  • دفعات الموردين: Supplier payments: each amount you paid a supplier with its date and payment method, and a warning if the supplier is not registered. Holds up to 250 payments.
  • المبيعات اليومية: Daily sales: each day of the summary month with the number of sale rows, net sales, cash, the contract payers' share, cost and gross profit.
  • النواقص: Shortages: items that have run out or fallen below their minimum level, sorted by largest quantity needed, with the usual supplier, actual unit cost and order cost. Shows the first 50 items.
  • الملخص: Summary: the month's sales, gross profit, purchases, bonus value, stock value, number of shortages and total owed to suppliers, a profit table by category, a six-month table and three charts.

The file opens on a start tab (“ابدأ هنا”, Start here) that explains how to use it.

What makes it different

Enter an invoice once and the sheet knows what each unit really cost you after bonus and discount. From that it works out the gross profit on every sale and every category, tells you what you are short of and how much you owe each supplier, so you do not need to add up figures from notebooks.

How to use it

  1. In "الإعدادات" (Settings) enter any date inside the month you want summarised, the first month of the monthly table, the multiplier on the minimum level for order quantity, and the item categories.
  2. In "الموردون" (Suppliers) enter each supplier's name and mobile. In "الأصناف" (Items) enter the code, trade name, category, unit, list purchase price, selling price, minimum level, usual supplier and opening balance.
  3. In "المشتريات" (Purchases) record each item on a supplier invoice: date, invoice number, supplier, code, quantity bought, bonus quantity, unit price and discount percentage. The sheet works out the invoice net and the actual unit cost after bonus and discount.
  4. In "المبيعات" (Sales) record each sale: date, code, quantity, payment type (cash or contract), discount percentage and, for a contract sale, the payer's percentage.
  5. In "دفعات الموردين" (Supplier payments) record every amount you pay a supplier. The balance owed to each supplier then shows in "الموردون" (Suppliers).
  6. Open "النواقص" (Shortages) to find items that have run out or fallen below the minimum, with a suggested order quantity and its cost. Open "المبيعات اليومية" (Daily sales) and "الملخص" (Summary) for the month's figures and profit by category.

Before you start:

  • This sheet is for accounts and stock only. It has no doses or therapeutic information and does not replace review by the competent authority.
  • Expiry dates have their own sheet, "متابعة صلاحية وأرصدة أدوية الصيدلية" (pharmacy drug expiry and stock tracker), so do not record them twice here.
  • Balance = opening balance + received (purchased + bonus) - sold. Items shown as short are those with a balance below the minimum level, and "out of stock" means a balance of zero or less.
  • Actual unit cost = (opening balance x purchase price + net of the item's invoices) / (opening balance + units received including bonus). So bonus units lower the unit cost.
  • Gross profit = net sale - (quantity x actual unit cost). Net sale = quantity x selling price - discount. Payer's share = net x the payer's percentage, and the customer pays the rest.
  • Suggested order quantity = minimum level x multiplier - balance, rounded up. The multiplier is a number you set from experience.
  • Supplier balance = net invoices - payments. The sheet holds 200 items, 50 suppliers, 400 purchase rows, 900 sales rows and 250 payments, and "النواقص" (Shortages) shows the first 50 items.

Excel file (.xlsx) · 229 KB · 11 tabs · works in Excel and Google Sheets · no sign-up

The workbook is in Arabic (right-to-left, Arabic tab and column names). This page explains every tab in English.

The blank copy has the same formulas, charts and lists without the example data; categories and settings are ready.

Free cheat sheet for this field

Terms, abbreviations, tables and diagrams over several pages, in Arabic and English. Download it as a PDF or images, including a phone-size version.

Cheat sheet: pharmacy management (1/3)Cheat sheet: pharmacy management (2/3)Cheat sheet: pharmacy management (3/3)
0 downloads · 3 pages

Still running this on Excel?

This sheet depends on someone checking the shelves and typing in the items by hand. Sehaty tracks the pharmacy's stock item by item, warns you before an item runs out rather than after, and records dispensing against the e-prescription itself.

In this sheetIn MyClinic (Sehaty) — Clinic, Pharmacy and Supplier Platform
You discover an item is short when a patient asks for it.Sehaty tracks stock item by item and warns you before an item runs out, not after.
The prescription is a paper that can get lost or be hard to read, and no trace of dispensing remains.The consultation produces an e-prescription in the patient's medical file, and the pharmacy records dispensing against that same prescription.
You learn what pharmacies need late, through reports and phone calls.The supplier sees a digital catalog that reaches pharmacies and warehouses, and sees demand as it comes in.
The patient phones several clinics to book.The patient searches for appointments by specialty and location and books without a phone call.

See MyClinic (Sehaty) — Clinic, Pharmacy and Supplier Platform · Ask for a demo

Frequently asked questions

How do I calculate actual unit cost when a supplier gives bonus units?

In "المشتريات" (Purchases) enter the quantity bought, bonus quantity, unit price and discount percentage. The sheet calculates net = quantity x price - discount, then divides it by the units received including the bonus. For example, you buy 100 at 18 and get 10 bonus with a 5% discount: net is 1,710 and units are 110, so the unit cost is 15.55 instead of 17.10.

How does the sheet handle sales where an insurer or contracted payer pays a share?

Choose the payment type "تعاقد" (contract) and enter the payer's percentage on the sale row. The payer's share is taken from the net sale and the rest is left for the customer. The summary shows the contract share to be collected for the month. It does not track collection from the payer, so record that in your own ledger.

How is the suggested shortage quantity calculated?

Minimum level x the multiplier in the settings - current balance, rounded up. It appears for items whose balance is below the minimum level or zero. You set the multiplier from experience of how fast each item sells and how quickly the supplier delivers.

Do I record expiry dates in this sheet?

No. Expiry dates and batches have their own sheet, "متابعة صلاحية وأرصدة أدوية الصيدلية" (pharmacy drug expiry and stock tracker). This sheet focuses on buying, selling and suppliers, and has no doses or therapeutic information.

Is the template free?

Yes, with no sign-up and no email address. Use it, edit it and share it as you like.

Does it work in Google Sheets and on mobile?

The sheet uses formulas supported by Excel 2016 and later, Google Sheets and LibreOffice, so you can upload it to Google Drive and open it with Google Sheets on a computer or a phone.

What is the difference between the white and the gray cells?

You type in the white cells; the gray cells are calculated automatically. Don't type in a gray cell, or you will erase its formula.

Can I use the sheet from an AI assistant?

Yes. Add our MCP server (URL https://softwiro.com/api/mcp, no key needed) to your assistant and ask it to do the calculation in this template. The numbers come from the sheet's own formulas, and we do not store your data. The steps and a ready-made prompt are in this article: https://softwiro.com/blog/mcp-excel-templates-ai-agent-guide.html

More free templates for: Pharmacies and clinics

More free templates

All templates · Free tools