SPC XmR Charting Tool

Create XmR charts. Detect SPC signals. Improve with data.

An Excel-based Statistical Process Control XmR charting tool for Microsoft 365. Generate professional Individual SPC and Moving Range charts using Office Scripts, without VBA.

Script download: if the script opens as a text page, right-click the Download Script button and choose Save link as.

XmR Chart
Generation

Create Individuals and Moving Range charts directly in Microsoft Excel.

Office Script
Automation

Run the tool in Excel for the Web without VBA or desktop macros.

SPC Signal
Detection

Detect limits, shifts, trends and two-of-three warning signals.

Summary
Statistics

Calculate means, moving ranges and process limit values automatically.

Intervention
Annotations

Add key events and process recalculation points to support interpretation.

Input-Led
Workbook

Structured worksheet inputs. Clear charts, calculations and outputs.

How To Use

1

Download The Files

Download the Excel workbook and the accompanying Office Script text file.

2

Install The Script

Open the workbook in Excel for the Web and paste the script into Automate.

3

Enter Chart Data

Add chart settings, dates, values and optional target information.

4

Add Annotations

Include interventions or process recalculation points where appropriate.

5

Run And Review

Run the Office Script, then review the XmR chart, moving range chart and signals.

Only edit the intended input areas. Outputs are analytical aids and should be reviewed before being used for operational, managerial or clinical decisions.

Resources & Links

View the project on GitHub

Source code, documentation and all project resources are available in the repository.

View On GitHub