Excel Auto Fill and Dates Exercise
(Jeff Nyhoff's IDIS 110 sections)
 

 

Auto Fill

  1. Open Microsoft Excel.
  2. Excel begins with a blank workbook file. Save this new workbook as:
    Excel Exercise 4 - John Calvin (replace "John Calvin " with your own name )
  3. Right-click on the Sheet1 tab at the bottom of the worksheet


    and select Rename from the menu that appears:


    enter "AutoFill" as the name of this worksheet.

  4. Enter 10 in cell A2:
  5. See that little black square in the lower right corner of the border that indicates the active cell?
    This is called the "Auto Fill handle."

    Click and drag this handle to cell F2. This copies cell A2 and pastes it to the other cells:

  6. Enter "Calvin" in cell A5:

    Click and drag the Auto Fill handle to cell A7. This copies cell A5 and pastes it to the other cells:

  7. Enter 10 in cell A10
    and 20 in cell B10 :

  8. Select both cells A10 and B10 :


    Click and drag the Auto Fill handle to cell E10.


    Notice what happened: Excel noticed that you were counting by 10, so it kept this progression going...
  9. This works for numbers with decimal fractions as well.
  1. Auto Fill also works for times :
  2. Auto Fill also works for dates :
  3. Auto Fill also works days of the week and month names :

Date Arithmetic

  1. Right-click on the Sheet2 tab

    and choose Rename.
  2. Rename this worksheet to

    Click on this tab to make it the active worksheet.
  3. In cell A2, enter the words "Today's Date: "


    Notice that the the full text string "Today's Date:" is displayed, even though column A is not wide enough to display it.
  4. In cell B2, enter the following: 9/11/01

  5. Notice that now, because cell B2 is no longer empty, we can no longer see
    all of the phrase "Today's Date:" in cell A2 :


  1. Right-click on cell B2 and choose Format Cells from the menu that appears:




    The following dialog then appears:



  2. Right-click on cell B2 again, and choose Format Cells from the menu that appears:




    In the dialog that appears, select the Number category




    and change the number of Decimal places to zero :




    Then, press the OK button


    Our cells now look like this:




    1. Right-click on cell B2 and choose Format Cells from the menu that appears:




    2. Select Date format in the Category panel:




      and then the first Date format in the Type box:




      Our cells now look something like this:



      Note: Your date is likely to be a different one.

      (Because your "today" — i.e., the day when you are doing this exercise
      — is at a later date than my "today" : the day when I am creating
      these screen snapshots... ) :

    3. Now, however, column B is unnecessarily wide for the changed
      Date format, so adjust the width of column B, either by
      clicking and dragging or double-clicking on the border
      between columns B and C : |



      Afterward, the cells now look something like this:






  3. Why does Excel store dates as integers?

    Because it enables us to be able to do arithmetic with dates...

    Let's try some Date arithmetic :


Save this Excel file again, and submit it via KnightVision.

 


© Jeff Nyhoff, 2006-2007