QI Macros User Guide
QI Macros User Guide
Excel 97-2003 Click on QI Macros to reveal the QI Macros functions. If you look
from left to right you should see: Statistical Tools, Fill-In-The-Blanks
To Run a Chart using a Macro:
Templates, Data Transformation, Capability Charts, Control Charts
1. Select the data to be graphed.
and Improvement Charts. Any menu item with an arrow to the right
2. Select the graph from the menu bar.
has a pull down menu of further options.
3. Answer prompts for titles & other info.
To Open a Template:
1. Select Fill-In-The-Blank Templates.
2. Move your cursor over the sub menus and
select the desired template.
Classic 2003 Menu
Help,Technical Support & Other Resources While the new ribbon interface may be easier for new users to learn, it
Click on QI Macros, then Help to access the QI Macros help menu. can be challenging for those of us who have been using Excel for
Technical support - www.qimacros.com/techsupport.html years. So, to simplify the transition, we created a "classic Excel 2003
Frequently asked questions - www.qimacros.com/macrofaqs.html menu" with all of the Excel tools and buttons, as well as the QI
Overview Videos - www.qimacros.com/qimacros-video-tour.htm Macros Pull Down Menu. To access this menu click on QI Macros
Sign up for FREE Lessons On Line to supplement this user guide and the following will appear:
by emailing [email protected]. Subject = "sign up"
Defects/Samples
The u chart assumes that your defects column is to the left of your
sample size column. If the columns are reversed (larger #s on the
left), the macros will ask you if the left column is the sample size.
2. You may also use data in horizontal rows. Click on the top
left cell and drag the mouse down and right to include the cells in
the horizontal rows.
Formatting Excel Charts:
Once you create a chart, you can use any of Excel's menus and
commands to enhance or format your chart. Just select the item to
format and then right click to view the options available.
3. Numeric data and decimal precision: Excel formats most
Add Text boxes, arrows or other - Use Excels drawing toolbar to
numbers as "General" not "Number". If you do not specify the
add text boxes, arrows or other symbols to your chart. To view the
format for your data, Excel will choose one for you. To get the
drawing toolbar, select View/Toolbars/Drawing. The drawing toolbar
desired precision, select your data, choose Format-Cells-
usually appears on the bottom of the worksheet.
Number and specify the number of decimals:
Put two charts on the same worksheet - Click on your chart, then
select Edit, Copy. Then click in the destination worksheet and select
Edit, Paste Special, Paste Link.
For Other Chart Options - Click on the Chart pull down menu.
See www.qimacros.com/free-excel-tips/format-charts.html for further
information on how to format your charts.
Get Sample selects a sample from a table of data. Select the data, 2. From Excel's pull-down menu, choose: Data-Pivot Table.
then select Get Sample. The macro will prompt you for the # of Follow the Pivot-Table Wizard until you get a screen like one of
samples and whether you want a Random or Periodic sample. A these:
periodic sample of 3 will give you every 3rd item from your data.
Paste Link/ Paste Link Transpose: Excel lets you paste link and
paste transpose but it doesn't let you do both at the same time. Use
these functions to link your data to a QI Macros fill-in-the-blanks
template. Update your data sheet and the template and chart are 3. Click and drag the data labels into the appropriate area of
automatically updated. Use these function to build dashboards. the pivot table to get the summarization you want:
Cross Tab Pivot Table Wizard makes it easier to run Pivot tables. 4. To change how the data is summarized, use the pivot table
Just select up to 4 columns of data and select the wizard. wizard or double click on the top left-hand cell. For online
tutorials, Google "Excel Pivot Table".
See www.qimacros.com/free-excel-tips/data-transformation.html for
5. Select labels and totals, and draw charts using your summa-
further information on these tools.
rized data.
If you answer No, it will run a p chart. If you answer Yes, it will
run a u chart.
Resources for selecting your own chart include: p and u charts can
have UCL and
• The SPC Quick Reference Card at qimacros.com/sustainaid.pdf LCL lines that vary
• Free article at qimacros.com/free-excel-tips/choosing-control- with the sample
charts.html size.
• The 1 hour SPC Simplified Training Video at qimacros.com/
spc-simplified-training-video.html 3. Answer the prompts for chart and x and y axis titles.
5. From the File Menu, select Save to save the graph with
your workbook.
2. From the QI Macro Menu bar, select "XmR, XmR
Trend, XbarR, XbarS, or Xmedian Chart." The macro will
create a new worksheet and begin calculating the X and R Create Stair Step Limits:
values, control limits, and averages. Before you run any control chart you can insert a blank row in your
3. The macro will first draw the Range Chart. If the R chart data where you know a process change occurred, the QI Macros will
looks unstable, then the process is unstable. calculate separate UCLs and LCLs for each group of data giving you
"stair-step" control limits.
For more information and videos about control chart features see
www.qimacros.com/lessons/qimacros5.html
Add Data to Control Charts: Click on the chart data worksheet (i.e.
cdata) and add your new data points. Then go to the chart and click on
the chart tools menu and Add Data to Control Charts. Enter the number
of rows to add and click OK.
3. To hide sigma lines or change p/u chart formats click on the
appropriate selection.
4. Any changes you make will be saved to the QI Macros and
will be applied to all of the charts you run. To change the rules
back, simply click on Control Chart Rules and select Default rules or Analyze Stability: After you add new data, delete a point or show a
Show Hide 1 and 2 sigma lines or p/u chart format. If you want to process change you should rerun stability analysis. To do so, simply
customize the stability and chart format rules even further, see click on Analyze Stability on the chart tools menu.
www.qimacros.com/free-excel-tips/control-chart-rules.html.
Our Six Sigma Ezine archives contain articles about many of these
tools at qimacros.com/six-sigma-articles.html.
How
What
2. From the File Menu, select Save As to store the template
under a new name.
3. Use the text and arrow tools from the Drawing Tool Bar to add
arrows and causes. (To see the tool bar, select: View/Options- 2. From the File Menu, select Save As to store the template
Toolbars-Drawing.) In Excel 2007, select Insert then Shapes. under a new name.
3. Enter the "whats" and "hows" for the diagram. Insert
Use the Ellipse tool to circle root causes. columns and rows as required to expand the matrix. Then enter
importance and interactions.
Each line, box, text or circle is called an
"object." Objects can be grouped 4. Excel 97 and newer versions: Select VIEW-TOOLBARS-
together to form a single object or DRAWING. Use Autoshapes to draw all competitor scores.
moved in front or behind each other For articles about QFD, go to
using the Drawing Tool. To copy the www.qimacros.com/six-sigma-articles.html
fishbone and place it in another docu-
ment, use Cntr+Shift + A to select all To sign up for our Six Sigma ezine, send an email to six-sigma-
objects, then Edit-Copy. [email protected], Subject = "sign up"
2. Select data for analysis. Some tools, like Anova can take
many columns. Others, like regression use two columns. A few
only use one column. Data must be in columns for these tools to
work. See c:qimacros/testdata/anova for examples.
3. From the QI Macros, choose
ANOVA and Analysis Tools. A
number of different statistical
tools will be displayed.
4. Select the appropriate statisti- 2. Input your desired confidence level (usually 95%), confidence
cal analysis, and click OK. interval (+ accuracy), standard deviation (estimate as high-low
Answer any of the prompts value/6), and population size (if known).
(defaults are provided) and Excel
will perform the analysis you've
requested. 3. The sample size calculator will compute the number of samples
necessary to achieve your desired confidence. Sample sizes are
given if population is known or unknown. Sample sizes are also
given for attribute vs variable data.