Capability

Monte Carlo simulation in a web app, from the Data Tables in your workbook

A Monte Carlo simulation is only as useful as the number of people who can run it. If the model already uses Excel Data Tables, a published application executes them on the server for people who will never open the file, and returns the whole range rather than one answer.

Run one before you read any further

A term life insurance calculator with Data Tables behind it, built from an ordinary workbook and running right now.

Live application

Term life calculator with Data Tables

Enter the inputs, press the button, and the Data Tables in the workbook are executed on the server. The grid of results comes back into the page. Nothing is downloaded, and the model behind it is never exposed.

Open the calculator

Built from a workbook, no code Calculated server-side Works on a phone

Monte Carlo simulation and sensitivity grids, one mechanism

Both are Excel Data Tables. What separates them is whether the inputs you sweep are deliberate or random.

Sensitivity and scenario grids

Every combination of two inputs, at once

A one-variable table sweeps a single input down a column. A two-variable table sweeps one input down and another across, filling a grid with the result at every intersection.

This is what turns a quote into a rate card, a projection into a range, and a single answer into something a customer can actually read. Premium by age and coverage, margin by volume and discount, payment by rate and term.

Monte Carlo

Thousands of trials, then the distribution

The standard Excel technique is a Data Table whose input column is ignored, so every row recalculates the model with fresh random draws. Five thousand rows is five thousand trials.

Everything that needs is supported: RANDRANDBETWEENRANDARRAY NORM.INVNORM.S.INV to generate the draws, and AVERAGESTDEV PERCENTILECOUNTIFFREQUENCY to summarise them.

Download the full function list

Why publishing it changes what it is worth

A simulation that only its author can run is an analysis. A simulation anyone can run is a product.

The recalculation happens on a server

Thousands of trials are exactly the workload a laptop struggles with and a spreadsheet handles slowly. Moving it server-side is not a compromise for the sake of the browser; customers report it running faster than the desktop version did.

Your assumptions stay behind the glass

Distributions, correlations, loadings and reserve factors are the model. Users see the range of outcomes and never the parameters that generated it.

A range persuades where a number does not

One figure invites argument about the assumption behind it. A distribution, or a grid across plausible inputs, answers the follow-up question before it is asked.

Four things to know before you build

Short list, because there is almost no configuration. These are the behaviours that occasionally surprise people.

1

It has to be a button The Simulations event runs on a button click only. It cannot be triggered automatically or by autocalculation. That is usually what you want anyway. Nobody should re-run five thousand trials every time a field changes.

2

All Data Tables run together If the workbook contains several, one button press processes every one of them and returns all the results. If you want them independent, split them across separate applications rather than separate buttons.

3

Trial count is a property of the workbook How many rows your Data Table has is how many trials run. There is no separate setting in the platform to raise or lower it. Size it in Excel before you upload. Adding rows later means re-uploading the workbook.

4

Random means random Two runs of the same Monte Carlo model return different numbers, exactly as they would in Excel. If a user needs to reproduce a result, save the outputs as a record rather than expecting the run to repeat.

Full behaviour in the Simulation event documentation.

Thousands of simulations, in production

Broker Village build software for investment product distribution, used by financial advisers and trusted by FINRA. Their Trade and Compliance Analyzer evaluates mutual fund and ETF trades on account value, fees and commissions, and returns a recommendation.

It is hard enough to model complex investment products and decisions. Embedding the models into a web application takes complexity to the next level. And until recently, being able to tailor your models to the unique requirements of each firm, and deploy complex mathematical changes in near-real-time, was a near impossibility. With SpreadsheetWeb we now can address needs that nobody else can meet.

Stuart JulianChairmanBroker Village Read the case study

Two details from that write-up are worth pulling out. The application runs the thousands of simulations on the server rather than on the adviser’s device, which they report as faster than running it in Excel on a desktop. And a major regulatory change that would previously have taken three to six months to reach the web version took days.

Upload the workbook with the Data Table in it

This one you really can try yourself. The free tier includes simulation, so you can publish a model and run it before speaking to anyone. If you would rather see it against something closer to your own, book a call.