Statistical Analysis with Excel For Dummies. Joseph Schmuller

Statistical Analysis with Excel For Dummies - Joseph Schmuller


Скачать книгу
rel="nofollow" href="#fb3_img_img_7225794d-acba-58d6-95a0-132f9cbc385d.png" alt="Tip"/> A quick way to autofill is to click in the first cell in the series, move the cursor to that cell’s lower right corner until the autofill handle appears, and double-click. This works on both PCs and Macs.

      

Notice that the iPad pop-up menu is laid out horizontally rather than vertically, as in traditional Microsoft Office applications. If you have an iPad Pro and a Magic keyboard as well, a two-finger click on the track pad opens a traditional-style (vertically arrayed) pop-up menu. If you go full-on old school and connect a mouse to your iPad Pro, a right-click opens a traditional pop-up menu.

Snapshot of Autofill on the iPad.

      FIGURE 1-11: Autofill on the iPad.

You can have something like an iPad experience, even if you don’t own one — the catch is that your computer has to have a touchscreen. If it does, you can perform many of the iPad Excel gestures on your machine. So, a keyboard and a mouse can make an iPad act like a laptop, and a touchscreen can make your laptop act like an iPad.

      Referencing cells

      Another important fundamental principle is the way Excel references worksheet cells. Consider again the worksheet shown in Figure 1-8. Each autofilled formula is slightly different from the original. This, remember, is the formula in cell H2:

       = D2 + E2 + F2 + G2

      After autofill, the formula in H3 is

       = D3 + E3 + F3 + G3

      and the formula in H4 is — well, you get the picture.

      This is perfectly appropriate. You want the total in each row, so Excel adjusts the formula accordingly as it automatically inserts it into each cell. This is called relative referencing — the reference (the cell label) gets adjusted relative to where it is in the worksheet. Here, the formula directs Excel to total up the numbers in the cells in the four columns immediately to the left.

      Similar to the earlier example, you start by entering this formula into I2:

       =H2/H11

Snapshot of Incorrect autofill!

      FIGURE 1-12: Whoops! Incorrect autofill!

      The story is this: Unless you tell it not to, Excel uses relative referencing when you autofill. So, the formula inserted into I3 is not

       =H3/H11

      Instead, it's

       =H3/H12

      Why does H11 become H12? Relative referencing assumes that the formula means, “Divide the number in the cell by whatever number is nine cells south of here in the same column.” Because H12 has nothing in it, the formula is telling Excel to divide by zero, which is a no-no.

       = H2/$H$11

Snapshot of Autofill, based on absolute referencing.

      FIGURE 1-13: Autofill, based on absolute referencing.

      

To convert a relative reference into absolute reference format, select the cell address (or addresses) you want to convert, press and hold the Fn key, and then press F4. Fn+F4 is a toggle that switches among relative reference (H11, for example), absolute reference for both the row and column in the address ($H$11), absolute reference for the row-part only (H$11), and absolute reference for the column-part only ($H11). You might have to experiment a bit with this — some keyboards only require F4 (without Fn).

      A Mac shortcut for this is Command+T.

      Here’s how you do it on the iPad. After you enter a formula in this type of context, like

       = H2/H11

Snapshot of Changing from relative to absolute reference on the iPad.

      FIGURE 1-14: Changing from relative to absolute reference on the iPad.

      Understanding Excel's Statistical Capabilities

      IN THIS CHAPTER

      

Working with worksheet functions

      

Creating a shortcut to statistical functions

      

Getting an array of results

      

Naming arrays

      

Tooling around with analysis

      

Analyzing on the iPad

      Скачать книгу