Friday, January 21, 2011

How to Graph UCL and LCL in Excel 2007


1. Calculate the mean of each group by typing '=AVERAGE(A1:D1)' (without quote marks) in cell F1. Press 'Enter,' then guide the cursor over the right hand corner of cell F1 until it changes to a cross-hair. Click and drag down to cell F5 and release to auto-fill the remaining means.
2. Calculate the mean of means by typing '=AVERAGE(F1:F5)' (without quote marks) in cell F7 and pressing 'Enter.'
3. Calculate the standard deviation of all observations by typing '=STDEV(A1:D5)' (without quote marks) in cell F8 and pressing 'Enter.'
4. Calculate the Upper Control Limit (UCL), which is the mean of means plus three times the standard deviation. In this example, type '=F7 3*F8' (without quote marks) in cell F9 and press 'Enter.'
5. Calculate the Lower Control Limit (LCL), which is the mean of means minus three times the standard deviation. In this example, type '=F7 3*F8' (without quote marks) in cell F10 and press 'Enter.'
6. Copy the mean of means in cell F7 and paste its value into cells A6 to D6. Repeat this step with UCL and LCL by pasting them into cell A7 to D7 and A8 to D8, respectively. This will ensure the final graph includes the mean of means, the UCL and the LCL.
7. Graph your observations. In this example, highlight cells A1 to D8, select the 'Insert' tab, then the 'Line' button, then select the basic 2-D line from the sub-menu. Right-click the graph, select the 'Select Data...' option, and then select the 'Switch Row/Column' button in the 'Select Data Source' dialog box before clicking 'OK'.

Blogger news