# Pharmacy Inventory Management Excel Template

> A free Excel pharmacy inventory sheet: stock, reorder alerts, purchases by lot and expiry date, cash and insurance sales, supplier balances and profit.

Source: https://softwiro.com/templates/pharmacy-inventory-tracker
Language: English
Softwiro, softwiro.com

---

Free Excel template

# Pharmacy Inventory Management Excel Template (Stock, Expiry, Sales, Suppliers)

A free Excel workbook for a small or independent pharmacy. List your products once, then record deliveries (each line is a lot with its lot number and expiry date), sales (cash or insurance, with an optional lot number) and the payments you make to suppliers. The sheet works out what is on hand, which products are at or below their minimum, how many to order, which lots have expired or are about to, how much you owe each supplier and what you earned this month. It is a stock-and-money record: it gives no dosing or clinical information. It opens in Excel, LibreOffice and Google Sheets and works in any currency.

[Download the free sheet (with a worked example)](https://softwiro.com/downloads/templates/softwiro-pharmacy-inventory-tracker.xlsx) [Blank copy, no example](https://softwiro.com/downloads/templates/softwiro-pharmacy-inventory-tracker-blank.xlsx)

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

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

| As of / month shown | 46342 |
| --- | --- |
|  |  |
| Products in the stock list | 25 |
| Stock value (at cost) | 1,573.65 |
| Products at or below minimum (reorder) | 8 |
| Products out of stock | 1 |
| Cost of suggested order | 1,036.80 |
| Sales this month | 1,621.44 |
| Gross profit this month | 890.44 |
| Gross margin this month | 54.9% |
| Cash sales this month | 1,225.60 |
| Insurance sales this month | 395.84 |
| Purchases this month | 316.20 |
| Lots expired with stock left | 1 |
| Value of expired stock (at cost) | 27.60 |
| Lots expiring within the warning days | 2 |
| Value of stock expiring soon (at cost) | 21.00 |
| Owed to suppliers | 641.80 |
| Lines with an alert (sales and purchases) | 2 |

Example from the “Summary” tab, with the numbers and formulas that are in the file.

## What is inside

- Summary: Products listed, stock value, products to reorder and out of stock, the cost of the suggested order, sales, gross profit and margin for the month, cash and insurance sales, purchases, lots expired and expiring soon with their value at cost, what you owe suppliers and the lines with an alert; stock value and sales by category, the next products to buy, six months of sales against purchases, and three charts.
- Products: One row per product (up to 300): code, name, category, pack, cost, price, minimum level, order-up-to level and opening quantity. It adds bought, sold, on hand, stock value, margin, status (OK, Reorder or Out of stock), suggested order, sales in the window, days of cover, and the quantity in lots that are expiring soon or already expired.
- Purchases: One row per delivery line and lot (up to 1,000): date, invoice, supplier, product code, quantity, unit cost, lot number and expiry date. It adds the total, the quantity sold from the lot, what is left, its value and an expiry status of OK, Expiring soon, Expired or Used up.
- Sales: One row per sale line (up to 2,000): date, product code, quantity, an optional lot number, payer (Cash or Insurance) and discount. It adds the product, list price, total, cost and category and warns about an unknown code, stock below zero or a sale from a lot that had already expired.
- Payments: What you paid each supplier, with date, amount and method.
- Suppliers: For each supplier: invoiced, paid, balance owed and status.
- Lists: The product categories and suppliers used by the dropdowns.
- Settings: Pharmacy name, currency symbol, as-of date, the month to summarise, the sales window and the expiry warning in days.

The file opens on a start tab (“Start here”) that explains how to use it.

## What makes it different

A stock list tells you what you have. This one also tells you what is about to become waste and what you owe. In the sample, 25 products hold stock worth 1,573.65, 8 are at or below their minimum and 1 is out of stock, one lot is already expired with stock worth 27.60 at cost, and November sales are 1,621.44 with a gross profit of 890.44 (54.9%).

## How do I track pharmacy stock and expiry dates in Excel?

Record each delivery line as its own lot, with the lot number and expiry date, and record sales with the product code and, when you know it, the lot number. Lot remaining is the quantity received minus the quantity sold from that lot, and the Expiry status column turns to Expiring soon when the date is within your warning days (90 in the sample) and to Expired when it has passed while stock is still left. Products then shows how many units sit in each of those lots.

Lot figures are only as accurate as the lot numbers you type: sales without a lot number, and the opening stock, are not taken off any lot, so check the shelf. For a simple dates-only list, the [expiry date tracker](https://softwiro.com/templates/expiry-date-tracker) may be enough.

## How do I set reorder levels for a pharmacy?

Give each product a minimum level and an order-up-to level on Products. When on hand reaches the minimum the status turns to Reorder, and Suggested order shows how many to buy to get back to the target. Days of cover divides what is on hand by your average daily sales over the window, so a fast mover such as a pain-relief pack gets a higher minimum than a blood pressure monitor.

Independent pharmacies often watch gross margin and stock turnover as well. Margin is on every product row and in the monthly summary, and the days-of-cover column shows which products sit on the shelf longest. Check any benchmark you use against your own records, since figures vary by market and product mix.

## How do I keep track of what I owe suppliers?

Enter the supplier on every purchase line and record each payment on Payments. Suppliers then shows invoiced, paid and the balance for each one, and Summary adds up what you owe. In the sample the pharmacy owes 641.80 across five suppliers. If you manage ordering with formal purchase orders, the [purchase order template](https://softwiro.com/templates/purchase-order-template) is a companion.

## How to use it

1. On Settings type your pharmacy name, currency symbol, the As-of date (today), the first day of the month to summarise, the sales window in days and how many days ahead to warn about expiry. On Lists edit your product categories and suppliers.
2. On Products add one row per product: code, name, category, pack, unit cost, selling price, the minimum level that triggers a reorder, the level you order up to and the quantity you had when you started.
3. On Purchases add one row per delivery line: date, invoice number, supplier, product code, quantity, unit cost, lot number and expiry date. On Sales add one row per sale line: date, product code, quantity, payer (Cash or Insurance), any discount and, when you know it, the lot number.
4. On Payments record what you pay each supplier. Suppliers shows what you were invoiced, what you paid and the balance you still owe.
5. Read the Status column on Products (Reorder, Out of stock) and the Expiry status on Purchases (Expired, Expiring soon). Suggested order shows how many to buy to reach the order-up-to level.
6. Open Summary for stock value, sales and gross profit for the month, cash and insurance sales, value of stock that is expired or expiring soon, supplier balances, the next products to buy and three charts.

**Before you start:**

- This is a stock and money record. It gives no dosing, interaction or clinical information, and it does not replace the records your local rules require for prescriptions or controlled medicines: check your local rules.
- Capacity: 300 products, 1,000 purchase lines, 2,000 sales lines, 8 categories and 8 suppliers.
- On hand = opening quantity + purchases - sales. Stock value = on hand x unit cost on Products. Margin = (price - cost) / price.
- Status: Out of stock when on hand is 0 or less; Reorder when on hand is at or below the minimum; otherwise OK. Suggested order = order-up-to level - on hand.
- Each purchase line is one lot. Lot remaining = quantity received - quantity sold with that product code and lot number on Sales. Sales that do not name a lot (and the opening stock) are not taken off any lot, so lot figures are only as accurate as the lot numbers you type; check the shelf.
- Expiry status: Expired when the expiry date is before the As-of date and the lot still has stock; Expiring soon when it falls within the warning days; Used up when nothing is left. Sales: price on Products x (1 - discount). Gross profit = sales - quantity x unit cost.
- The sheet does not use TODAY(): type the As-of date on Settings. Use one currency in one workbook.

[Download the free sheet (with a worked example)](https://softwiro.com/downloads/templates/softwiro-pharmacy-inventory-tracker.xlsx) [Blank copy, no example](https://softwiro.com/downloads/templates/softwiro-pharmacy-inventory-tracker-blank.xlsx)

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

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

## 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 sheet | In 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](https://softwiro.com/product/sehaty) · [Ask for a demo](https://softwiro.com/contact)

## When your work grows: a custom system instead of the sheet

A sheet is a great start. When more than one person works on your data, when it grows, or when you need alerts and reports of your own, we build you a custom system at competitive prices. This is what changes:

| In the sheet | In a custom system |
| --- | --- |
| Lots matched to sales by typing the lot number | Lots picked automatically, first expiry first |
| Alerts you see when you open the file | Alerts sent to your phone |
| Insurance as a discount on each line | Claims tracked until the insurer pays |
| One person at a time | Several staff, each with their own login and permissions |
| Stock counted by hand and typed in | Stock counts with a scanner |

### Extra features in the app

- Barcode scanning at the dispensing counter
- Prescription records with patient history
- Automatic expiry and reorder alerts by message
- Insurance claims tracked until they are paid
- Several branches sharing one stock list
- Supplier ordering with purchase orders

[Ask for your custom system](https://softwiro.com/contact)

## Frequently asked questions

### Is this pharmacy inventory template free?

Yes. Download it, use it in your pharmacy and change it as you like.

### Does it work in Google Sheets?

Yes. It uses ordinary formulas such as SUMIFS, COUNTIFS, INDEX, MATCH and IFERROR, so it works in Excel 2016 and later, LibreOffice and Google Sheets.

### Does it give dosing or clinical information?

No. It is a stock and money record. It also does not replace the records your local rules require for prescriptions or controlled medicines, so check your local rules.

### How many products and sales can it hold?

300 products, 1,000 purchase lines (lots), 2,000 sales lines and 500 supplier payments, with 8 categories and 8 suppliers. Clear the sample rows and keep adding below them.

### Can it handle insurance sales?

Yes, in a simple way: choose Insurance as the payer and type the discount for that line. Summary shows cash and insurance sales separately. It does not track claims or what the insurer still owes.

### 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](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](https://softwiro.com/blog/mcp-excel-templates-ai-agent-guide.html)

More free templates for: Pharmacies and clinics

Step-by-step guide: [Pharmacy management in Excel (free): sales, purchases, shortages and suppliers](https://softwiro.com/blog/pharmacy-management-free-excel-online.html)

## More free templates

- Patient Appointment Log Template for Excel
- Expiry Date Tracker for Excel (Inventory)
- Dental Practice Treatment Plan Tracker for Excel
- Clinic Management Spreadsheet for Excel
- Hospital Bed Occupancy and Admissions Tracker for Excel
- Medical Lab Test Tracker for Excel
- School Management Spreadsheet for Excel (Students, Fees, Attendance)
- Science Formulas Cheat Sheet in Excel (Physics, Chemistry, Biology)
- Volume and Surface Area Formulas Cheat Sheet (Excel, with Calculators)
- Stationery Shop Inventory Tracker for Excel (Stock, Sales, Copy and Print)
- Rideshare Driver Income Tracker Spreadsheet (Uber, Lyft)
- Private Tutor Group Class Tracker: Attendance and Fees
- Textile Production Tracker: Cutting to Packing by Order
- Landlord Bookkeeping Template: Unit Accounts and Trial Balance

[All templates](https://softwiro.com/templates) · [Free tools](https://softwiro.com/tools)
