Standardized control chart for fraction of nonconformities

This macro creates a standardized control chart for the fraction of nonconforming units (or defectives).

Download the Macro

Be sure that Minitab knows where to find your downloaded macro. Choose Tools > Options > General. Under Macro location browse to the location where you save macro files.


If you use an older web browser, when you click the Download button, the file may open in Quicktime, which shares the .mac file extension with Minitab macros. To save the macro, right-click the Download button and choose Save target as.

Required Inputs

  • A column of defects or defectives
  • A corresponding column listing the number of items tested

Optional Inputs

Use to specify a column of dates to label the x axis.

Running the Macro

Suppose C1 contains the number of defects (or defectives) and C2 is the total number of items that were tested. To run the macro, choose Edit > Command Line Editor and type:


Click Submit Commands.

Additional Information


D.C. Montgomery (2001). Introduction to Statistical Quality Control, 4th edition, John Wiley & Sons.

By using this site you agree to the use of cookies for analytics and personalized content.  Read our policy