Running and Changing Histograms

home · products · services · search · view cart · contact  
 
  NAVIGATION        
 

Jay Arthur
888-468-1537
303-756-9144
KnowWare International, Inc.
DBA LifeStar

2253 S. Oneida
Ste 3D
Denver, CO 80224


We work with companies
that want to fire up their profits using
Lean Six Sigma

Copyright © 2011



 

Histograms are simply bar charts that show the distribution of your data using the number of times your data points fall into each of the bars on the histogram. When you add the upper and lower specification limits, it’s easy to see how your data fits your customer's requirements and what improvements might be necessary.

The QI Macros histograms calcuate key indicators of process capability including Cp, Cpk, Pp and Ppk. See our formulas page for more information about these indicies.

Running a Histogram in the QI Macros SPC Software

If you have the QI Macros, you can access the test data used in this example on your computer at c:/qimacros/testdata/histogram.xls.

If you don't have the QI Macros software you can download a free 30 day trial copy at http://www.qimacros.com/freestuff.html.

If your copy of the QI Macros was purchased prior to Jan 2007 follow the steps in this histogram article.

To create a histogram in the QI Macros follow these steps:

  1. The number of decimals in your raw data will drive the number of decimals shown in the results. Make sure your data is formatted to the precision you want. From Format- Cells, select Number and specify the number of decimal places you want.
  2. format data before running a histogram in Excel

  3. Highlight the data to be graphed (minimum of 20 data points recommended). Click on the top data cell and drag the mouse down to include just the data cells. Then, click on the QI Macros Menu bar and select either the histogram or frequency histogram macro. Tip: Do NOT sort your data before running a histogram or the calculations will be incorrect.
  4. excel histogram with cp cpk on QI Macros menu

  5. The histogram macro will prompt you for upper and lower spec limits. Use the default or input your spec limits. For one-sided histograms, select Cancel if there is no USL or LSL. In this example, we input 346 for the USL and 200 for the LSL.
  6. set specification limits for histogram in Excel

  7. Then, the macro will draw the graph for you.
  8. Histogram created by the QI Macros for Excel

  9. To move the USL or LSL arrows or text boxes:
    • Arrows: Click on each arrow and drag it to the appropriate position. To extend an arrow, click on it, then click on the handle at either end and extend the arrow.
    • Text: Click on each text box and drag it to sit on top or beside its corresponding arrow.

  10. From the File Menu, select Save to save the graph.
  11. To revise the process capability calculations, switch to the Histdata datasheet. You can change the USL and/or LSL by typing over the current values in the cells provided. Excel will recalculate Cp, Cpk and Pp, Ppk and update the contents of the text boxes on the chart.
  12. histogram fields that can be changed

  13. You can also change the number of bars used on the chart by changing either the number of bars field OR the class width field in the Histdata sheet. Note: if you want an exact number of bars, use the class width field. Change the class width in small increments until you get the number of bars desired.
  14. If you change the number of bars, you may need to copy and paste the formulas down to new cells.
  15. add data to histogram in Excel

  16. Then go to the Histogram chart and see if it is still centered on the page. In this example, we changed the number of bars from 10 to 20. After the change the chart looks like this.
  17. histogram after new data was added

  18. Next, we need to update the Source Data the chart is graphing. Click on Chart, Source Data.
  19. change source data plotted by histogram in Excel

  20. Excel will open a window with the source data definitions in the Histdata sheet. To update the source data, click on the Series tab.
  21. data series tab to update source data plotted by histogram in Excel

  22. In step 9, we copied formulas down to row 44 before we started getting bars with zero values, so we need to change all references to row 26 to 44 in the series window.
  23. Change all of the values for the Count series, then click on Count 2 and Distribution and change the values for these series as well.
  24. The updated chart should look like this:
  25. histogram after source data is updated in Excel

  26. To add data, switch to the histdata sheet and add the new data.
  27. add data to histogram created by the QI Macros for Excel

QI Macros Calculations

To view formulas used in the QI Macros see our formulas page at http://www.qimacros.com/formulas.html

To view the calculations made to create the histogram, take a look at the Histdata sheet created when a macro is run.

QI Macros histogram calculations

As previously mentioned, you can add new data, change spec limits and change the number of bars in this sheet.

If you would like more information about histograms or how to manually calculate the capability indicies consider our new histogram whitepaper. You can order and download it at https://www.qimacros.com/orderebook.html

To purchase the QI Macros

QI Macros - One License Per Computer
- Download Now and Get Backup CD & User Guide (#230) in 1-3 days - $199 + S&H
QI Macros - One License Per Computer
- Download Only - No Shipping or Customs Duties (#W230) $199


If you already own the QI Macros, you can purchase an upgrade. You must purchase one upgrade for each license you own.

QI Macros Upgrade - One License Per Computer - Download with backup CD and user guide (#232) $99 + S&H
QI Macros Upgrade - One License Per Computer - Download Only - No Shipping or Customs Duties (#W232) $99


If you love the QI Macros...
Please ask a handful of friends to download the trial version. Here's what to say:
Need easy to learn, easy to use software for Lean Six Sigma and SPC that works right in Microsoft Excel? Test drive the QI Macros!
Find out more at www.qimacros.com/excel-spc-software.html.
Get a 30-day trial at www.qimacros.com/free-spc-software.html.

Going to a meeting of quality professionals?
We can send you as many QI Macros 30-day trial CDs as you need. Just send an email with the address and quantities needed to orders@qimacros.com.

 

 

Download the FREE 30-day Evaluation copy of the QI Macros Excel SPC Software for Six Sigma

QI Macros - One License Per Computer
- Download Now and Get Backup CD & User Guide (#230) in 1-3 days - $199 + S&H
QI Macros - One License Per Computer
- Download Only - No Shipping or Customs Duties (#W230) $199

 

 
home | products | services | search | sitemap | view cart | contact
QI Macros | Excel SPC Software | SPC Software Free Trial
Control Charts | c Chart | np Chart | p Chart | u Chart
ImR Chart | XmR Chart | XMedianR Chart | XbarR Chart | XbarS Chart | EWMA Chart
Anom Chart | Cusum Chart | Levey Jennings Chart | Moving Average Chart
Histograms | Pareto Chart | Scatter Plot | Run Chart
Box Whisker Plot | Dot Plot | Multivari Chart

Lean Six Sigma Training | Lean Six Sigma Training Denver
Lean Six Sigma Consulting | Lean Six Sigma Consulting Denver
Lean Six Sigma Training Systems | Do-It-Yourself Lean Six Sigma Training