https://store-images.s-microsoft.com/image/apps.33097.2a6907f3-6c48-4a89-be60-f9aca8c89da5.7ce7d6cc-f487-4c1d-b1fe-a0bce9e40604.ed21a9d8-0f0d-43bc-b75e-1a7e09c50877.png

Python for Excel

by Boardflare

Run Python code locally in Excel for free.

Run Python code as a function to power your formulas and LAMBDA functions, which is not possible with Excel's native PY(). For example: =BOARDFLARE.RUNPY("arg1 + 2", arg1) will add 2 to the argument (arg1) passed to the function.

This enables you to build custom functions using Python without building a custom Excel add-in. This was originally conceived as an internal tool for prototyping custom functions based on Python, and we decided to publish it as a free add-in.

Benefits

✅ Use Python as a function in formulas and LAMBDAs.

🆓 Free add-in, no Office 365 license required.

🌐 Works in Excel for web as well as desktop.

☁️ Runtime has network access for API calls (need CORS).

📦 Import custom packages (pure Python only).

🔒 Runs locally, so no data is shared outside Excel.

➡️ Code can be loaded from a URL (e.g. GitHub).

🚀 Performance is only limited by your CPU.

This is a work in progress and is intentionally very minimalist. See our Python for Excel documentation for details.

App capabilities

When this app is used, it
  • Can read and make changes to your document
  • Can send data over the Internet

At a glance

https://store-images.s-microsoft.com/image/apps.6303.2a6907f3-6c48-4a89-be60-f9aca8c89da5.8922117f-9298-4a91-85cc-ffb84fdbf4e7.1346bfe2-0092-405c-bd31-a4b101bfbb42.png
/staticstorage/linux/20241105.1/assets/videoOverlay_7299e00c2e43a32cf9fa.png
https://store-images.s-microsoft.com/image/apps.6303.2a6907f3-6c48-4a89-be60-f9aca8c89da5.8922117f-9298-4a91-85cc-ffb84fdbf4e7.1346bfe2-0092-405c-bd31-a4b101bfbb42.png