Trying to Draw a u Chart in Excel?

QI Macros Can Do It For You!

Create a u Chart by running QI Macros:

  1. Select your data.
  2. Click on QI Macros menu > Control Charts (SPC) > Attribute (c,np,p,u,g,t) > u.
  3. QI Macros will do the math and draw the chart for you.
  4. QI Macros will also turn any unstable points or conditions red.

Go Deeper: Use u Charts when counting defects and the sample size varies

u Charts determine stability of "counted" data (e.g., errors per bill, dents in a car door, etc.) when there can be more than one defect per unit and the sample size varies.

u Chart data looks like this:

u chart data

Example of a u Chart:

u chart in excel

Uneven control limits result from the varying sample sizes.

It's Easy to Draw a u Chart in Excel Using QI Macros

QI Macros adds a new menu to Excel and provides two ways to create charts: a u Chart macro and a u Chart template:


I purchased QI Macros just to run control charts (worth the price just for that). I had NO idea what a robust product you have developed, and what an amazing bargain I was getting. File me under exceeded customer expectations.

- Scott Campbell
SwedishAmerican Hospital

Create a chart using a u Chart template:

  1. Open a template: QI Macros > Control Chart Templates > Attribute (c,np,p,u,g,t) > u Chart
  2. Input your data into the yellow shaded area.
  3. The chart is drawn as the data is input.
  4. Run stability analysis using the chart tools menu.
u chart template excel

What is the difference between defects and defective items?

Defects - u Charts

Each item can have more than one defect:

  • scratches on a car door
  • errors on a bill
  • missing products in a shipment

Defective Items - p Charts

Each item is only counted once:
p chart of defective items

  • car doors that need to be repainted
  • bills that are wrong
  • incomplete shipments

Change the Y-Axis Multiplier:

  • Located to the right of the chart, this functionality allows you to change the multiplier. This automatically changes the y-axis value (e.g. 1, 10, 100, etc.):


Toggle Between u Chart and u' Chart:

  • Specifically offered in the u Chart macro, you can toggle between a u Chart and a u' Chart by inputting either "False" (u Chart) or "True" (u' Chart):


Error Bars not Extending on your Template

If you have created a skyline template and the error bars are not extending, below are instructions on how to update your file accordingly:

  1. If your template is formatted to Wavy Control Limits, convert them to Skyline Control limits within QI Macros by first selecting your chart. From the QIMacros Chart portion, select the "Convert SkyLine/Wave" drop-down and click "Convert Wave to Skyline."
  2. Next, click any point on your Upper Control Limit and choose "Format" from the Excel ribbon.
  3. Then, select "Series UCL X Error Bars" from the Chart Area drop-down:
  4. p u templates error bar chart area selection

  5. Once you have done so, click the "Format Selection" button and then select "Specify Value" from the Format Error Bars section:
  6. p u template error bar format selection button

    p u template specify value button

  7. When the "Custom Error Bars" window opens, update the Positive Error Value and Negative Error Value from $M$70 and $T$70 to $M$150 and $T$150 accordingly:
  8. p u template customer error bar prompt

  9. Repeat these steps for UCL Y Error Bars, LCL X Error Bars, and LCL Y Error Bars.

Stop Struggling with u Charts!
Start creating your u Charts in just minutes.

Download a free 30-day trial. Get u Charts now!

Learn More...

Why Choose QI Macros Over Other Control Chart Software?

easy to use

Fast and Easy to Use

  • Works right in Excel
  • Create charts in seconds
  • Easy to customize & share charts
  • Free Training Anytime

proven and trusted

Proven and Trusted

  • More than 100,000 users
  • In More than 80 countries
  • Five Star CNET Rating - Virus free



  • Only $349 USD
    Quantity Discounts Available
  • No annual subscription fees
  • Free technical support