Skip to Content
Blog · Custom Integrations
Solution Showcase

Excel Add-In for Writing to Databases

Streamline your workflow by updating databases directly from your spreadsheets
April 13, 2026 by
Excel Add-In for Writing to Databases
Rubi Works LLC, Luka Bajic

Excel can read from databases. Writing back is where everyone gets stuck.

Power Query made pulling database data into Excel trivial. Refresh a query, watch a million rows land in a worksheet, pivot it, filter it, share it. Everyone uses it. But the moment you need to write back — fix a value, bulk-update records, input new data — Excel has nothing. You're back to copy-paste into a database client or writing a script.

Most finance and operations teams work around this by emailing Excel files to a developer, who then writes a one-off SQL script to apply the changes, which gets tested, reviewed, and finally run. It works. It's also slow, error-prone, and creates a dependency between people who should be able to do their jobs directly.

Why writing is hard

Writing to a database from Excel requires validation, transaction control, audit logging, error handling, and security — things Power Query doesn't offer because it's read-only by design. Writing needs a different tool, and until now that tool had to be custom-built per use case.

Rubi's Excel add-in for databases.

We built an Excel add-in that reads AND writes to databases without leaving the spreadsheet. The add-in installs from the Office Add-In Catalog, appears as a new ribbon tab in Excel, and exposes connect-to-database and write-back functionality in a native Excel experience.

Select rows in Excel. Click "write to database." Done, in seconds, with full audit logging.
Rubi Works — Excel Add-In for Databases
graph LR USER[Finance / Ops user] --> EX[Excel + Add-In] EX -->|Read| MIDDLE((Rubi Middleware
Python on Azure)) EX -->|Write| MIDDLE MIDDLE -->|Auth + validate| PG[(PostgreSQL / SQL)] MIDDLE -.->|Audit log| AUDIT[(Audit store)]
Fig 01 · Excel add-in architecture

Key advantages.

Simple installation Available through the Office Add-In Catalog. Install once, appears in every workbook's ribbon. No per-workbook setup, no Excel macros.
Smooth Excel experience Works alongside normal Excel functions without disrupting your workflow. Use formulas, pivot tables, conditional formatting — everything still works. The add-in just adds read/write capability.
Secure database connections Every database connection is authenticated through Azure-hosted services. No credentials stored in the workbook. No direct network access from the user's machine to the database.
Flexible data handling Works with various data structures — tables, views, stored procedures, parameterized queries. Adapts to your specific database schema without requiring a rewrite for each new use case.
Access control Only authorized team members can access sensitive data. Permissions are role-based and enforced at the middleware layer, not client-side.
Audit logging Every read and write is logged with user, timestamp, and the rows affected. Compliance teams get a searchable trail of who changed what, when.

Use cases.

  • Finance teams bulk-updating vendor terms, customer credit limits, or tax codes after a rate change
  • Operations teams correcting data in inventory records, customer attributes, or project fields without waiting on IT
  • AR/AP teams applying bulk adjustments, credit memos, or write-offs based on an Excel review spreadsheet
  • Sales teams updating opportunity stages, close dates, or custom fields across many records at once
  • Data correction workflows where a monthly reconciliation reveals 50 records that need to be fixed — no more handing that spreadsheet to a developer

Technology stack.

  • JavaScript frontend — using the Office JS API, the same technology Microsoft's own Excel add-ins are built on
  • Python middleware on Azure — handles authentication, validation, schema introspection, and safe SQL generation
  • PostgreSQL / SQL Server / others — target database is configurable; the middleware translates Excel operations into safe, parameterized SQL
  • Office 365 auth integration — users authenticate with their existing Microsoft account; no separate login

Frequently asked questions.

Can it work with our Q360 database?

Yes — we've deployed it on top of Q360 specifically for finance and operations teams who want controlled write access without giving them direct SQL rights. Works with Q360 Live Data and the SQL Report API.

What about preventing bad data?

The middleware enforces schema validation, required fields, foreign key checks, and any custom rules you define (e.g. "status can only be one of these 5 values"). Bad data gets rejected with a clear error before it hits the database.

Can we roll back a bad update?

Yes. Every write is transactional — if any row in a batch fails, the whole batch rolls back. We also retain per-write snapshots for a configurable window (typically 30 days) so Admin users can reverse an individual bulk update.

Let's put this to work for your team.

Book a 30-minute call. We'll walk through your current stack and show you exactly how we'd approach your situation.