ms excel tutorial – project 2 - assumption university · ms excel tutorial – project 2 page 3...

32
MS Excel Tutorial – Project 2 Page 1 of 32

Upload: others

Post on 11-Jun-2020

13 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 1 of 32

Page 2: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 2 of 32 

Table of Contents Project Two — BetNet Stock Club................................................................. 3 Entering the Titles and Numbers into the Worksheet ................................. 3 Enter the Worksheet Title ......................................................................... 3 Enter the Column Titles............................................................................. 4 Enter the Stock Data................................................................................. 4 Enter the Total Row Titles......................................................................... 5 Entering Formulas .................................................................................... 5 Enter a Formula Using the Keyboard ......................................................... 5 Order of Operations .................................................................................. 7 Entering Formulas Using Point Mode ......................................................... 7 Enter Formulas Using Point Mode.............................................................. 7 Copy Formulas Using the Fill Handle.......................................................... 9 Determine Totals Using the AutoSum Button ............................................10 Determine the Total Percentage Gain/Loss ..............................................10 Determine the Average of a Range Using Keyboard/Mouse.......................11 Determine the Highest Number in a Number Range ..................................12 Determine the Lowest Number in a Range Using Min ................................13 Copy a Range of Cells across Columns to an Adjacent Range.....................14 Verify a Formula Using Range Finder........................................................15 Verify a Formula Using the Auditing Commands .......................................16 Change the Font and Center the Worksheet Title ......................................17 Change the Title Background, Font Colors and Apply an Outline Border.....18 Bold, Center, and Underline the Column Titles ..........................................19 Center Data in Cells .................................................................................20 Apply a Currency Style Format and Comma Style Format ..........................20 Apply a Currency Style Format with a Floating Dollar Sign ........................22 Apply a Percent Style Format ...................................................................23 

Conditional Formatting...............................................................................24 Apply Conditional Formatting...................................................................24 Change the Widths of Columns.................................................................27 Change the Height of a Row by Dragging..................................................29 Check Spelling on the Worksheet .............................................................31 Saving the Workbook a Second Time Using the Same File Name ...............32 Rename the Sheets..................................................................................32

Page 3: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 3 of 32 

Project Two — BetNet Stock Club Needed: An easy­to­read worksheet  that summarizes  the club's  investments For each stock, the worksheet is to include the name, symbol, date acquired, number of shares, initial price, initial  cost,  current  price,  current  value,  gain/loss,  and  percent  gain/loss.  Michael  also  has requested that the worksheet include totals and the average, highest value, and lowest value for each column of numbers. 

Source  of  Data:  The  data  supplied  by  Michael  includes  the  stock  names,  symbols,  dates acquired, number of shares, initial prices, and current prices. This data is shown in Table 2­1. 

Calculations:  The following calculations must be made for each of the stocks: 1.  Initial Cost = Shares x Initial Price 2.  Current Value = Shares x Current Price 3.  Gain/Loss = Current Value ­ Initial Cost 4.  Percentage Gain/Loss = Gain/Loss 

Initial Cost 5.  Compute the totals for initial cost, current value, and gain/loss. 6.  Use the AVERAGE function to determine the average for the number of shares, initial price 

per share, initial stock cost, current stock price, current stock value, and gain/loss for each stock. 

7.  Use the MAX and MIN functions to determine the highest and lowest values for the number of shares, initial price per share, initial stock cost, current stock price, current stock value, gain/loss for each stock, and percent gain/loss. 

Entering the Titles and Numbers into the Worksheet Because the centered text first must be entered  into the  leftmost column of the area across which it is centered, it will be entered into cell A1. 

Enter the Worksheet Title 1.  Select cell A1. Type “BetNet Stock Club” in the cell. 2.  Press the DOWN ARROW key. The worksheet title displays in cell A1. 

The stock  club's  investments are  summarized  in Table 2­1. These numbers are entered  into rows 3 through 10. 

Table 2­1 BetNet Stock Club Portfolio Stock  Symbol  Acquired  Shares  Initial Price  Current Price Amazon.com  AMZN  10/14/97  800  15.875  172.00 America Online  AOL  12/14/98  720  93.50  126.688 Broadcast.com  BCST  2/2/99  610  85.25  121.5 EarthLink  ELNK  3/1/99  500  63.125  65.25 eBay  EBAY  4/13/99  920  200.50  162.50 Infoseek  SEEK  2/12/98  750  12.875  50.565 UBid  UBID  12/21/98  400  151.375  44.25 Yahoo  YHOO  5/12/98  700  21.00  717.00

Page 4: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 4 of 32 

Enter the Column Titles 1.  With cell A2 active, type Stock and then press the RIGHT ARROW key. 2.  Type Symbol and then press the RIGHT ARROW key. 3.  Type Date & then press ALT+ENTER. Type Acquired & then press the RIGHT arrow key. 4.  Type Shares & then press the RIGHT ARROW key. 5.  Type Initial & then press ALT+ENTER. Type Price and then press the RIGHT arrow key. 6.  Type Initial & then press ALT+ENTER. Type Cost & then press the RIGHT ARROW key. 7.  Type Current & then press ALT+ENTER. Type Price & then press the RIGHT ARROW key. 8.  Type Current &  then  press  ALT+ENTER.  Type Value &  then  press  the RIGHT ARROW 

key. 9.  Type Gain/Loss & press the RIGHT ARROW key. 10.Type % Gain/Loss & then click cell A3. 

The column titles display as shown in row 2 of Figure 2­1. When you press ALT+ENTER to add more lines to a cell, Excel automatically increases the height of the entire row. 

The stock data in Table 2­1 includes a date on which each stock was acquired. Excel considers a date to be a number and, therefore, displays  it  right­aligned  in  the cell. When you enter a date,  Excel  automatically  formats  the  date  so  it  resembles  the  way  you  entered  it.  For example,  if  you enter May 20, 1999, Excel displays  it  as 20­May­99. If  you enter  the  same date in the format 5/20/99, then Excel displays it as 5/20/99. The following steps describe how to enter the stock data shown in Table 2­1, which includes dates. 

Enter the Stock Data 1.  With  cell  A3  selected,  type Amazon.com  and  then  press  the  right  ARROW key.  Type 

AMZN and then press the RIGHT arrow key. 

2.  With  cell C3 selected,  type 10/14/97 and then press  the RIGHT arrow key. Type 800 and then press the RIGHT ARROW key. 

3.  With cell E3 selected, type 15.875 and then press the RIGHT ARROW key twice. Type 331 and then press the ENTER key. 

4.  Click  cell  A4.  Enter  the  data  in  Table  2­1  for  the  seven  remaining  stocks  in  rows  4 through 10. The stock data displays in rows 3 through 10 as shown in Figure 2­1.

Page 5: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 5 of 32 

Enter the Total Row Titles 1.  Click  cell  A11.  Type  Total  and  then  press  the  DOWN  ARROW  key.  With  cell  A12 

selected, type Average and then press the down arrow key. 

2.  With  cell  A13  selected,  type Highest  and  then  press  the  down ARROW key. With  cell A14 selected,  type Lowest and then press the ENTER key. Click cell F3. The total row titles display as shown in Figure 2­1. 

Figure 2­1 

Entering Formulas The initial cost for each stock, which displays in column F, is equal to the number of shares in column D times the initial price in column E. Thus, the initial cost for Amazon.com in row 3 is obtained by multiplying 800 (cell D3) times 15.875 (cell E3). 

If you enter a formula in cell F3 to multiply the values in cells D3 and E3, Excel recalculates the product whenever new values are entered into those cells and displays the result in cell F3. Complete the following steps to enter the formula using the keyboard. 

Enter a Formula Using the Keyboard 

1.  With cell F3 selected, type =d3*e3 in the cell. The formula displays in the formula bar and in cell F3 (Figure 2­2). 

Figure 2­2

Page 6: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 6 of 32 

2.  Press the RIGHT ARROW key twice to select cell H3. Instead of displaying the formula in cell F3, Excel completes the arithmetic operation indicated by the formula and displays the result, 12700 (Figure 2­3). 

Figure 2­3 

Table 2­2 Summary of Arithmetic Operators Arithmetic Operator 

Meaning  Example of Usage 

Meaning 

­  Negation  ­10  Negative 10 %  Percentage  =30%  Multiples 30 by 0.01 ^  Exponentiation  =2^3  Raises  2  to  the  third  power,  which  in  this 

example is equal to 8 *  Multiplication  =6.1 * A1  Multiples the contents of cell A1 by 6.1 /  Division  =H3 / H5  Divides the contents of cell H3 by the contents of 

cell H5 +  Addition  =4 + 8  Adds 4 and 8 ­  Subtraction  =D34 – 35  Subtracts 35 from the contents of cell D34 

You  can  enter  the  cell  references  in  formulas  in  uppercase  or  lowercase,  and  you  can  add spaces  before  and  after  arithmetic  operators  to make  the  formulas  easier  to  read.  That  is, =d3*e3 is the same as =d3 * e3, =D3 * e3, or =D3 * E3.

Page 7: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 7 of 32 

Order of Operations When more than one operator is involved in a formula, Excel follows the same basic order of operations  that  you  use  in  algebra.  Moving  from  left  to  right  in  a  formula,  the  order  of operations  is as follows: first negation (­), then all percentages (%), then all exponentiations ( ^ ), then all multiplications (*) and divisions (/), and finally, all additions (+) and subtractions (­). You can use parentheses to override the order of operations. For example, if Excel follows the order  of  operations,  10*6­3  equals  57.  If  you  use  parentheses,  however,  to  change  the formula to 10 * (6 ­ 3), the result is 30, because the parentheses instruct Excel to subtract 3 from 6 before multiplying by 10. Table 2­3 illustrates several examples of valid formulas and explains the order of operations. 

Table 2­3 Examples of Excel Formulas Formula  Remark =F6  Assigns the value in cell F6 to the active cell. =6 +­ 3^2  Assigns the sum of 6 + 9 (or 15) to the active cell. =2  *  K4  or  =K4  *  2  or =(2 * K4) 

Assigns two times the contents of cell K4 to the active cell. 

=50°/o*16  Assigns the product of 0.5 times 16 (or 8) to the active cell. =­ (J12*S23)  Assigns  the  negative  value  of  the  product  of  the  values 

contained in cells J12 and S23 to the active cell. =5*(L14­H3)  Assigns  the  product  of  five  times  the  difference  between  the 

values contained in cells H3 and LI 4 to the active cell. =D1/X6­ A3*A4 + A5^A6  From left to right: first exponentiation (A5 A A6), then division 

(Dl / X6), then multiplication (A3 * A4), then subtraction (Dl / X6) ­ (A3 * A4), and finally addition (Dl / X6 ­ A3 * A4) + (A5 A A6). If cells Dl = 10, A3 = 6, A4 = 2, A5 = 5, A6 = 2, and X6 = 2, then Excel assigns the active cell the value 18 (10 / 2 ­ 6 * 2 + 5 A 2 = 18). 

Entering Formulas Using Point Mode Point mode allows you to select cells for use in a formula by using the mouse. 

Enter Formulas Using Point Mode 1.  With cell H3 selected, type = (equal sign) to begin the formula and then click cell D3. 

Excel surrounds cell D3 with a marquee and appends D3 to the equal sign (=) in cell H3 (Figure 2­4). 

Figure 2­4

Page 8: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 8 of 32 

2.  Type * (asterisk) and then click cell G3. Excel surrounds cell G3 with a marquee and appends G3 to the asterisk (*) in cell H3 (Figure 2­5). 

Figure 2­5 

3.  Click  the  Enter  box.  Click  cell  13.  Type  (equal  sign)  and  then  click  cell  H3.  Type  ­ (minus  sign)  and  then  click  cell  F3.  Excel  determines  the  product  of  =D3*G3  and displays the result 137600, in cell H3. The formula =H3 ­ F3 displays in cell I3 and in the formula bar (Figure 2­6). 

4.  Click  the  Enter  box.  Click  cell  J3.  Type  =  (equal  sign)  and  then  click  cell  I3.  Type  / (division  sign)  and  then  click  cell  F3.  Click  the  Enter  box.  The  Gain/Loss  for Amazon.com,  124900,  displays  in  cell  I3  and  the  %  Gain/Loss  for  Amazon.com, 9.834646, displays in cell J3 (Figure 2­7). The 9.834646 represents 983.4646% 

=I3/F3

Page 9: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 9 of 32 

Copy Formulas Using the Fill Handle 1.  Click cell F3 and then point to the fill handle. Drag the fill handle down through cell F10 

and continue to hold down the mouse button. A border surrounds the copy and paste areas (range F3:F10) and the mouse pointer changes to a cross hair (Figure 2­8). 

2.  Release  the mouse  button.  Select  the  range  H3:J3  and  then  point  to  the  fill  handle. Excel copies the formula =D3*E3 to the range F4:F10 and displays the initial costs for the remaining seven stocks. The range H3:J3 is selected (Figure 2­9). 

3.  Drag  the  fill  handle down through  the  range H4:J10. Excel  copies  the three  formulas =D3*G3 in cell H3, =H3­F3  in cell  I3, and =I3/F3  in cell  J3 to  the range H4:J10 and displays the current value, gain/loss, and percentage gain/loss for the remaining seven stocks (Figure 2­10). 

If  you copy  downward,  Excel  adjusts  the  row portion  of  cell  references.  If  you copy  across, then  Excel  adjusts  the  column  portion  of  cell  references.  These  cell  references  are  called relative references.

Page 10: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 10 of 32 

Determine Totals Using the AutoSum Button 1.  Select cell F11. Click the AutoSum button twice. (Do not double­click.) 2.  Select the range H11:I11. Click the AutoSum button. The three totals display in row 11 

as shown in Figure 2­11. 

Rather than using the AutoSum function to calculate column totals individually, you can select all  three cells before clicking the AutoSum button  to  calculate all  three column  totals at one time. 

Determine the Total Percentage Gain/Loss 1.  Select cell J10 and then point to the fill handle. 2.  Drag the fill handle down through cell J11. 

Note:  The  formula,  =I10/F10,  is  copied  to  cell  J11.  The  resultant  formula  in  cell  J11  is =I11/F11,  which  shows  a  total  club  gain  on  the  club's,  holdings  of  0.528619  or  52.8619% (Figure 2­12). 

Note: A blank cell in Excel has a numerical value of zero.

Page 11: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 11 of 32 

Determine the Average of a Range Using Keyboard/Mouse 1.  Select cell D12. Type =average( in the cell. Click cell D3, the first endpoint of the range 

to average. Drag through cell D10, the second endpoint of the range to average (Figure 2­13). 

2.  Click  the  Enter  box.  Excel  computes  the  average  of  the  eight  numbers  in  the  range D3:D10  and  displays  the  result,  675,  in  cell  D12  (Figure  2­14).  Thus,  the  average number of shares owned in the eight companies is 675.

Page 12: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 12 of 32 

Determine the Highest Number in a Number Range 

1.  Select cell D13. Click the Edit Formula box in the formula bar. Click the Functions box arrow and then point to MAX. 

2.  The Name box  in  the  formula bar  changes  to  the Functions box. The Formula Palette displays immediately below the formula bar (Figure 2­15). An equal sign displays in the formula bar and the active cell, D13. 

3.  Click MAX. When the Function Arguments Window displays, type d3:d10 in the Number 1 edit box. Point to the OK button. The Function Arguments Window displays with the range  d3:d10  entered  in  the  Number  1  edit  box  (Figure  2­16).  The  completed  MAX function displays in the formula bar, and the end of the function displays in the active cell, D13.

Page 13: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 13 of 32 

4.  Click the OK button and you should see the image below. (Figure 2­17). 

Determine the Lowest Number in a Range Using Min 

1.  Select cell D14.Click Arrow on the AutoSum button on the Standard toolbar. When the Paste Function dialog box displays, click Statistical in the Function category list. Scroll down and click MIN in the Function name list. (Figure 2­18).

Page 14: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 14 of 32 

2.  Next  click  cell  D3  and  then  drag  through  cell  D10  and  then  press  Enter.  Excel determines that the lowest value in the range D3:D10 is 400 and displays it in cell D14 (Figure 2­19). 

Copy a Range of Cells across Columns to an Adjacent Range 1.  Select the range D12:D14. Drag the fill handle in the lower right corner of the selected 

range through cell J14 and continue to hold down the mouse button (Figure 2­20). 

2.  Release  the  mouse  button.  Excel  copies  the  three  functions  to  the  range  E12:J14 (Figure 2­21).

Page 15: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 15 of 32 

3.  Select  cell  J12  and  press  the  DELETE  key  to  delete  the  average  of  the  percentage gain/loss. Cell J12 is blank (Figure 2­22). 

4.  Click the Save button on the Standard toolbar. Type BetNet Stock Club in the File name text box. If necessary, select the Desktop in the Save in box. Click the Save button in the Save As dialog box. The file name in the title bar changes to BetNet Stock Club. 

Verify a Formula Using Range Finder 1.  Double­click cell J3. Excel responds by displaying the cells in the worksheet referenced 

by the formula in cell J3 using different color borders (Figure 2­23). The different colors allow you to see easily which cells are being referenced by the formula in cell J3. 

2.  Click any cell or press the ESC key to quit Range Finder.

Page 16: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 16 of 32 

Verify a Formula Using the Auditing Commands 1.  If necessary, click cell J3. Click Tools on the menu bar and then click the down arrows 

at the bottom of the Tools menu to display the full menu. Point to Auditing. When the Auditing submenu displays, point to Trace Precedents (Figure 2­24). 

2.  Click Trace Precedents. Blue rounded tracer arrows that point upward display along a blue  line  in  the  cells  (F3  and  I3)  that  are  used  by  the  formula  in  the  active  cell,  J3 (Figure 2­25). The horizontal arrow in cell J3 of the right end of the blue line indicates the active cell. You can use the blue line and arrows to verify that the correct cells are being used in the formula. 

3.  Click Tools on the menu bar and then point  to Auditing. When the Auditing submenu displays, dick Trace Dependents (Figure 2­26).

Page 17: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 17 of 32 

4.  Click Tools on the menu bar and then point  to Auditing. When the Auditing submenu displays, click Remove All Arrows. Click cell A16 (Figure 2­26). 

Note: To change the active cell to the one at the other end of the blue line, double click the blue  line.  This  technique  gives  you  a  quick  way  to  move  from  the  active  cell  to  one  that provides data to the active cell. This is especially helpful in large worksheets. 

Change the Font and Center the Worksheet Title 1.  Click cell A1. Double­click the move handle on the left side of the Formatting toolbar to 

display it  in  its entirety. Click the Font box arrow on the Formatting toolbar and then point to Bookman Old Style (or Courier New if your system does not have Bookman Old Style) (Figure 2­27). 

2.  Click  Bookman  Old  Style  (or  Courier  New).  Click  the  Font  Size  box  arrow  on  the Formatting toolbar and then point to 36.

Page 18: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 18 of 32 

3.  Click 36. Click the Bold button on the Formatting toolbar (Figure 2­28). 

4.  Select  the  range A1:J1. Click  the Merge and Center button on the Formatting  toolbar (Figure 2­29). 

Change the Title Background, Font Colors and Apply a Border 1.  With  cell  A1  selected,  click  the  Fill  Color  button  arrow  on  the  Formatting  toolbar  and 

then point to the color Dark Blue (column 6, row 1) on the Fill Color palette (Figure 2­ 30). 

2.  Click  the Font Color button arrow on  the Formatting  toolbar. Point  to  the color White (column 8, row 5) on the Font Color palette (Figure 2­31).

Page 19: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 19 of 32 

3.  Click  the Borders button arrow on the Formatting toolbar and then point to  the Thick Box Border button (column 4, row 3) on the Borders palette (Figure 2­32). 

4.  Click cell A2 to deselect cell A1 (Figure 2­33). 

Bold, Center, and Underline the Column Titles 1.  Select  the  range  A2:J2.  Click  the  Bold  button  on  the  Formatting  toolbar.  Click  the 

Center  button  on  the  Formatting  toolbar.  Click  the  Borders  button  arrow  on  the Formatting toolbar and then point to the Thick Bottom Border button (column 2, row 2) on the Borders palette (Figure 2­34). 

2.  Excel adds a thick bottom border to the range A2:J2.

Page 20: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 20 of 32 

Center Data in Cells 1.  Select the range B3:B10. Click the Center button on the Formatting toolbar (Figure 2­35). 

Apply a Currency and Comma Style Format 1.  Select the range E3:I3. While holding down the CTRL key, select the nonadjacent range 

F11:I11. Point to the Currency Style button on the Formatting toolbar. (Figure 2­36)

Page 21: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 21 of 32 

2.  Click the Currency Style button. Select the range E4:I10 and then point to the Comma Style button on the Formatting toolbar (Figure 2­37). 

3.  Click  the  Comma  Style  button.  Select  the  range  A10:J10  and  then  click  the Borders button on the Formatting toolbar. Excel assigns the Comma style  format to  the range E4:I10 and a thick bottom border to row 10. 

4.  Click cell E3. Click the Increase Decimal button on the Formatting toolbar. Do the same to  cell  G3.  Select  the  range  E4:E10.  Click  the  Increase  Decimal  button  on  the Formatting  toolbar. Do  the  same  to  the  range G4:G10. Click  cell E12  to deselect  the range G4:G10. (Figure 2­38). 

Note:  Each  time  you  click  the  Increase  Decimal  button,  Excel  adds  a  decimal  place  to  the selected  cell.  The  Decrease  Decimal  button  removes  a  decimal  place  from  the  selected  cell each time it is clicked.

Page 22: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 22 of 32 

Apply a Currency Style Format with a Floating Dollar Sign 

1.  Select the range E12:I14. Right­click  the selected range. Point to Format Cells on the shortcut menu. The shortcut menu displays (Figure 2­39). 

2.  Click the Number tab in the Format Cells dialog box. Click Currency in the Category list, click the third style ($1,234.10) in the Negative numbers list, and then point to the OK button. The Format Cells dialog box displays (Figure 2­40).

Page 23: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 23 of 32 

3.  Click  the  OK  button.  The  worksheet  displays  with  the  totals  in  rows  12  through  14 assigned the Currency style format with a floating dollar sign (Figure 2­41). 

Apply a Percent Style Format 1.  Select the range J3:J14. Click the Percent Style button on the Formatting toolbar. The 

numbers in column J display as a rounded whole percent. 

2.  Click  the  Increase  Decimal  button  on  the  Formatting  toolbar  twice.  The  numbers  in column J display with two decimal places (Figure 2­42).

Page 24: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 24 of 32 

Conditional Formatting Excel  lets you apply  formatting that appears only when the value  in a cell meets  conditions that  you  specify.  This  type  of  formatting  is  called  conditional  formatting.  You  can  apply conditional formatting to a cell, a range of cells, the entire worksheet, or the entire workbook. Usually, you apply it to a range of cells that contains values you want to highlight if conditions warrant. For example, you can instruct Excel to bold and change the color of the background of a  cell  if  the value  in  the  cell meets a condition,  such as being  less  than  zero. For example, assume you assign the range J3:J10 the following condition: 

Condition 

Cell value is less than 0 

Value 1  relational operator  value 2 

A condition, which is made up of two values and a relational operator, is true or false for each cell in the range. If the condition is true, then Excel applies the formatting. If the condition is false, then Excel suppresses the formatting. What makes conditional formatting so powerful is that the cell's appearance can change as you enter new values in the worksheet. 

Apply Conditional Formatting 1.  Select  the range  J3:J10. Click  Format on  the menu bar and  then point  to Conditional 

Formatting. (Figure 2­43).

Page 25: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 25 of 32 

2.  Click Conditional Formatting.  If necessary,  click  the  leftmost  text box arrow and then click Cell Value is. Click the middle text box arrow and then click less than. Type 0 in the rightmost text box. Click the Format button. (Figure 2­44). 

3.  When the Format Cells dialog box displays, click the Font tab and then click Bold in the Font style list. Click the Patterns tab. Click the color red (column 1, row 3). Click the OK button (Figure 2­45). 

4.  When  the  Conditional  Formatting  dialog  box  displays,  point  to  the  OK  button.  The Conditional Formatting dialog box displays as shown in Figure 2­46.

Page 26: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 26 of 32 

5.  Click  the  OK  button,  Click  cell  A16  to  deselect  the  range  J3:J10.  Excel  assigns  the conditional format to the range J3:J10. Any negative value in this range displays in bold with a red background (Figure 2­47). 

The middle text box  in the Conditional Formatting dialog box contains the relational operator. The eight different relational operators from which you can choose are summarized in Table 2­4. 

Table 2­4 Summary of Conditional Formatting Relational Operator  Description Between  Cell value is between two numbers Not Between  Cell value is not between two numbers Equal to  Cell value is equal to a number Not equal to  Cell value is not equal to a number Greater than  Cell value is greater than a number Less than  Cell value is less than a number Greater than or equal to  Cell value is greater than or equal to a number Less than or equal to  Cell value is less than or equal to a number

Page 27: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 27 of 32 

Change the Widths of Columns 1.  Drag through column headings A through E above row 1. Point to the boundary on the 

right side of column heading E. The mouse pointer becomes a split double arrow (Figure 2­48). 

2.  Double­click the right boundary of column heading E. Click cell A16 to deselect columns A through E. Point to the boundary on the right side of the column F heading above row 1. Drag to the left until the ScreenTip, Width: 12.00 (89 pixels), displays (Figure 2­49).

Page 28: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 28 of 32 

3.  Release  the mouse  button.  Point  to  the  boundary  on  the  right  side  of  the  column G heading  above  row 1. Drag  to  the  right until  the  ScreenTip, Width:  8.71  (66  pixels), displays. A dotted line shows the proposed right border of column G (Figure 2­50). 

4.  Release the mouse button. Drag through column headings H through  J above  row 1. Point  to  the  boundary  on  the  right  side  of  column  J.  Drag  to  the  right  until  the ScreenTip, Width: 12.00 (89 pixels), displays. A dotted  line shows the proposed right border of columns H through J (Figure 2­51).

Page 29: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 29 of 32 

5.  Release the mouse button. Click cell A16 to deselect columns H through J. Click File on the menu bar and then click Save. The worksheet displays with the new columns widths (Figure 2­52). 

Change the Height of a Row by Dragging 1.  Point  to  the  boundary  below  row  heading  1. Drag  down  until  the  ScreenTip, Height: 

61.50 (82 pixels), displays (Figure 2­53).

Page 30: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 30 of 32 

2.  Release the mouse button. Point to the boundary below row heading 2. Drag down until the ScreenTip Height: 36.00 (48 pixels), displays (Figure 2­54). 

3.  Release  the mouse  button.  Point  to  the  boundary  below  row heading 12. Drag  down until the ScreenTip, Height: 24.00 (32 pixels), displays. Release the mouse button. The Totals  row  and  the  Average  row  have  additional  white  space  between  them,  which improves  the  appearance  of  the  worksheet.  The  formatting  of  the  worksheet  is complete (Figure 2­55).

Page 31: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 31 of 32 

Check Spelling on the Worksheet 

1.  Double­click  the move handle  on  the  left  side  of  the  Standard  toolbar  to  display  the toolbar in its entirety. Select cell A2 and enter Stpck to misspell the word Stock. Select cell A1. Click the Spelling button on the Standard toolbar. When the spell checker stops on BetNet, click  the Ignore button. When the spell checker stops on cell A2, click the word  Stock  in  the  Suggestions  list. When  the  spell  checker  identifies  the  misspelled word, Stpck, the Spelling dialog box displays (Figure 2­56). Click the Change button. 

2.  As  the  spell  checker  checks  the  remainder  of  the  worksheet,  click  the  Ignore  and Change buttons as needed. The spell checker changes the misspelled word, Stpck,  to the  correct word, Stock,  and  continues  spell  checking  the worksheet. When  the  spell checker  is  finished,  it  displays  the  Microsoft  Excel  dialog  box  /  Microsoft  help with  a message indicating that the spell check is complete for the entire sheet (Figure 2­57). 

3.  Click the OK button to finish.

Page 32: MS Excel Tutorial – Project 2 - Assumption University · MS Excel Tutorial – Project 2 Page 3 of 32 Project Two — BetNet Stock Club Needed: An easyto read worksheet that summarizes

MS Excel Tutorial – Project 2 

Page 32 of 32 

Saving the Workbook a Second Time Using the Same File Name Earlier in this project, you saved an intermediate version of the workbook using the file name, BetNet Stock Club. To save the workbook a second time using the same file name, click the Save  button  on  the  Standard  toolbar.  Excel  automatically  stores  the  latest  version  of  the workbook using the same file name, BetNet Stock Club. When you save a workbook a second time using the same file name, Excel will not display the Save As dialog box as it does the first time you save the workbook. You also can click Save on the File menu or press SHIFT+F12 or CTRL+S to re­save a workbook. If you want to save the workbook using a new name or on a different drive, click Save As on the File menu. Some Excel users, for example, use the Save button to save the latest version of the workbook on the default drive. Then, they use the Save As command to save a copy on another drive. 

Rename the Sheets 1.  Double­click the tab labeled Sheet2 in the lower­left corner of the window. Type Real­ 

Time Stock Quotes as the sheet name and then click a cell on the worksheet. The new sheet name displays on the tab (Figure 2­58). 

2.  Double­click  the  tab  labeled  Sheet1  in  the  lower­left  corner  of  the  window.  Type Investment Analysis as the sheet name and then press the enter key. The sheet name changes from Sheet1 to Investment Analysis. 

3.  Click the Save button on the Standard toolbar. 

Sheet  names  can  contain  up  to  31  characters  (including  spaces)  in  length.  Longer  sheet names, however, mean that fewer tabs will display.