Excel Formulas

48
Excel Formulas

description

Excel Formulas. File -> Open -> 02b-datastart.xlsx. Delete Rows. Select cell A2. Click Delete -> Delete Sheet Rows. Find and Replace. Click on any blank cell then Click Find & Select -> Replace. Find what: N.A. Click Replace All. Click OK. Select Cell I1. Type Number of Shares. - PowerPoint PPT Presentation

Transcript of Excel Formulas

Page 1: Excel Formulas

Excel Formulas

Page 2: Excel Formulas

File -> Open -> 02b-datastart.xlsx

Page 3: Excel Formulas

Delete Rows

Page 4: Excel Formulas

Select cell A2

Page 5: Excel Formulas

Click Delete -> Delete Sheet Rows

Page 6: Excel Formulas

Find and Replace

Page 7: Excel Formulas

Click on any blank cell thenClick Find & Select -> Replace

Page 8: Excel Formulas

Find what: N.A.

Page 9: Excel Formulas

Click Replace All

Page 10: Excel Formulas

Click OK

Page 11: Excel Formulas

Select Cell I1

Page 12: Excel Formulas

Type Number of Shares

Page 13: Excel Formulas

Resize Columns

Page 14: Excel Formulas

Click on the line between Columns I and J and drag to the right to expand the column

Page 15: Excel Formulas

Can now see Number of Shares

Page 16: Excel Formulas

Using Formulas

Page 17: Excel Formulas

All formulas begin with an =Can use maths operators + - * /

Page 18: Excel Formulas

Click on Cell I2

Page 19: Excel Formulas

Type =G2/H2This means number in cell G2 is divided by number in cell H2

Page 20: Excel Formulas

Calculates Number of Shares = MarketCap/Price

Page 21: Excel Formulas

Copying Formulas:Relative References

Page 22: Excel Formulas

Click on Cell I2

Page 23: Excel Formulas

Press Ctrl+c on keyboard to copy cell

Page 24: Excel Formulas

Click on Cell I3 and press Ctrl+v

Page 25: Excel Formulas

Have now calculated the number of shares of the next company

Page 26: Excel Formulas

Double-Click on the bottom right corner of I3

Page 27: Excel Formulas

The rest of the column is filled with the same formula

Page 28: Excel Formulas

When copying and pasting:

• If we want to refer to the same cell all the time we use $ signs before both row and column $A$1

• If we want only the column to always stay the same we use a $ sign before the column letter $A1

• If we want only the row to always stay the same we use a $ sign before the row number A$1

Page 29: Excel Formulas

All of the cells in this column are formulas. If you change the original data the result changes.

Page 30: Excel Formulas

Paste Values

Page 31: Excel Formulas

To keep just the values you can copy and ‘paste values’

Page 32: Excel Formulas

Click on the top of Column I to select the whole column

Page 33: Excel Formulas

Press Ctrl+c on keyboard to copy column

Page 34: Excel Formulas

Click on Home -> Paste -> Paste Values -> 123

Page 35: Excel Formulas

The cells now contain values which will not change

Page 36: Excel Formulas

Keyboard Shortcuts tomove around

Page 37: Excel Formulas

Click on cell A1

Page 38: Excel Formulas

Press Ctrl + Right Arrow on keyboard to move to right of dataset

Page 39: Excel Formulas

Press Ctrl + Down Arrow on keyboard to move to bottom of dataset

Page 40: Excel Formulas

Press Ctrl + Up Arrow on keyboard to move back to top of dataset

Page 41: Excel Formulas

Press Ctrl + Shift + * on keyboard to select whole dataset

Page 42: Excel Formulas

Freeze Windows

Page 43: Excel Formulas

Click on cell B2

Page 44: Excel Formulas

Click View -> Freeze Panes -> Freeze Panes

Page 45: Excel Formulas

Press Ctrl + Down Arrow to move to bottom of dataset

Page 46: Excel Formulas

The top row and first column are always visible from everywhere in dataset

Page 47: Excel Formulas

File -> Save As -> 02c-datacompleted.xlsx

Page 48: Excel Formulas

Challenge

• Calculate a column showing the price of 10 shares in each company

• Copy and paste values