STA309: Excel study tips, Mod Lab session 1 of 2
Read Hoppe's Excel Manual and practice using Excel with the Chapter 1 exercises. An outline of our first Lab session is presented below. Read the Hoppe manual and perform all the steps below to get in gear with Excel.
We will be using the questionnaire you filled out: Day 1 questionnaire (right-click and choose "Save Target As..."), download it, save it as Day1.xls and open it for the steps that follow.
Using the Excel menus: Insert, Worksheet. Double click the new worksheets lower tab and name it "Practice".
- In the Practice worksheet:
- Notice the row and column headings
- Enter numeric data in A1 cell, text in cell B1, then edit this data (hint: in the cell (press F2) or edit in the formula bar)
- Positon your mouse over the crease between A and B. Drag the A1 column left. What does #### mean? Click the crease between column headings.
- Numeric data must begin with a number, text must begin with an alphabetic letter
- Format the data: justify (L, R, C), font, size, color
- Notice the address bar (A1, B2, etc, and names of cells)
- Name a cell and it becomes a variable!
- Mark a block (a range) of cells
- Mark a tall block of data (or mark a column of data: Ctrl-Shift-DownArrow)
- Enter 333 in A1, 1000 in B1
- Enter a formula in C1 by making the first keystroke = (remember: Numeric data begins with a number, text with an alphabetic letter, now you know formulas begin with =)
- Finish the formula in cell C1: =A1/B1 (hint: use the arrow keys instead of typing the A1 B1)
- Format C1 as percent
- Enter 200 in A2, 400 in A3, 500 in A4
- Enter 1000 in B2, 400 in B3, 300 in B4
- Make C1 active, and note the lower right handle (+ or 4-point arrow)
- Use auto-fill and drag C1 to C4 (drag and release the cell)
- In the Day 1 worksheet:
- Make cell A2 active (place the cursor there)
- Using the Excel menus: Window, Freeze panes
- Scroll down to check that the headings are stationary
- Type this in cell A100: =AVERAGE(
- A tool tip (auto-prompt) describes the arguments for the function
- Supply the range or block (next step) for calculating the average
- Click in cell A99 and drag up to cell A2, then type the single key: )
- Make A100 active and note in the formula bar =AVERAGE(A2:A99)
- Using the main menus insert a column to the left of column A: Insert, columns
- Make B100 active (it was A100) and note the changed formula bar
- In A100, enter Average=
- In A101 through A106 enter: StDev=, Minimum=, Q1=, Median=, Q3=, Maximum=
- in B101 through B106 enter: =stdev(b2:b99),=min(b2:b99),=quartile(b2:b99,1),=median(b2:b99),=quartile(b2:b99,3),=max(b2:b99)
- Mark B100-B106. Use autofill and drag the block to J100
- Mark J100-J106, press Ctrl-C, move to L100 and mark L100 through M106, press Ctrl-V
- Graphing in the Practice worksheet
- Enter text labels in cells A5 through A9: Major, Accounting, Finance, Marketing, MIS
- Enter some fake frequency data in cells B5 through B9: Freq, 22, 27, 21, 8
- Calculate the total number of students in cell B10 enter =SUM(B6:B9)
- Enter this label in C5: Percent
- Enter the formula in cell C6 and autofill it to C9: =B6/$B$10
- Mark C6:C9 and format as percent
- Now, prepare to use the Chart Wizard by marking two blocks: A5:A9, then hold down Ctrl and mark C5:C9
- Click the Chart Wizard button and then click Finish
- Right click one of the blue bars, and select Format Data Series, Options tab, set Gap = 0
- Suggestions for actual graph of majors
- In the Day 1 worksheet below Major (column K)
- Type in the Major names in cells
- Beside the major name cells make a column of frequencies of each major
- Type =COUNTIF(K2:K99,"Accounting") beside the name of each major (change from Accounting, etc)
- Make a column of percents as above
- Make the histogram as above