Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "02. Excel Formulas. File -> Open -> 02b-datastart.xlsx."— Presentation transcript:

1 02. Excel Formulas

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

3 Find and Replace

4 Click Find & Select -> Replace

5 Find What: N.A.

6 Click Replace All

7 Click OK

8 Click Close

9 All instances of N.A. have been replaced

10 Delete Rows

11 Click on Cell A2

12 Click Delete -> Delete Sheet Rows

13 Row 2 has been deleted

14 Resizing Columns

15 Click on Cell I1

16 Type Number of Shares

17 Click on right side of Column I and drag to the right to widen column

18 Column I is now wide enough to show all of the text

19 Using Formulas

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

21 Click on Cell I2

22 Type =E2/F2 This means the number in cell E2 will be divided by the number in cell F2

23 Calculates Number of Shares = MarketCap/Price

24 Copying Formulas: Relative References

25 Click on Cell I2

26 Press Ctrl+c on keyboard to copy cell

27 Click on Cell I3, then drag mouse to bottom of column

28 Press Ctrl+v to copy formula to all cells in this column

29 Have now calculated the number of shares of every company

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

31 Go back to top of dataset by pressing Ctrl + Up arrow on keyboard

32 Copying Formulas: Absolute References

33 The formulas used so far have been relative references, meaning that they change when they are copied and pasted

34 Click on cell I2 Its formula refers to cells E2 and F2

35 Click on cell I3 Its formula refers to cells E3 and F3

36 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

37 Select cell I2, and press Ctrl+c to copy

38 Select cells J2 to M8, and press Ctrl+v to paste

39 Click on cell M8 Original formula was E2/F2 The reference has changed both column and row numbers

40 Select columns J to M Press DEL on keyboard

41 Click on cell I2

42 Change formula to =E2/$F$2

43 Press Ctrl+c to copy

44 Select cells J2 to M8 and press Ctrl+v to paste

45 Select cell M8

46 The original reference was E2/F2 The new reference is I8/F2

47 Any column or row with a dollar sign does not change

48 Select columns J to M Press DEL on keyboard

49 Have deleted the sample cells The cells in Column I are still formulas

50 Paste Values

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

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

53 Press Ctrl+c on keyboard to copy column

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

55 The cells now contain values which will not change

56 Keyboard Shortcuts to move around

57 Click on cell in the bottom right of the dataset

58 Press Ctrl + Left Arrow on keyboard to move to left of dataset

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

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

61 Freeze Windows

62 Click on cell B2

63 Click View -> Freeze Panes

64 Press Ctrl + Down Arrow to move to bottom of dataset

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

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

67 Challenge Calculate a column showing the price of 10 shares in each company Copy and paste values


Download ppt "02. Excel Formulas. File -> Open -> 02b-datastart.xlsx."

Similar presentations


Ads by Google