The 10 Commandments of Excel

The 10 Commandments of Excel
1
Thou shalt not hard code any numbers in a formula
2
Thou shall always reference the source in a formula
3
Thou shalt never hide columns/rows, rather group them
4
Thou shall use the mouse as little as possible
5
Thou shall make all worksheets presentable and easy to understand
6
Thou shall be consistent in formatting and coloring
7
Thou shall use relative and absolute references appropriately
8
Thou shall utilize the Help function for it is the Lord and Savior
9
Thou shalt never claim to be an expert user less they desire to be smitten
10
Thou shalt have no program before Excel
Excel Workshop 10/20/04
Commonly Used Shortcut Keys
Action
Anchoring cells
Auditing toolbar
Auto sum
Borders - outside area
Borders - remove all
Comment - inserting
Comment - deleting
Copy / Cut
Paste
Paste Special formats
Paste Special formulas
Edit cell
Fill right / Fill down
Font - change size
Font - change font
Function - inserting
Go to
Go to end (contiguous range)
Highlight Contiguous range
Go to precendent cell(s) / Return
Group rows or columns
Row Height
Keystroke
Action
Keystroke
F4 (in edit cell mode )
Alt T U
Alt + =
Ctrl + Shift + 7
Ctrl + Underscore (Ctrl + Shift + -)
Shift + F2 (or Alt I M)
Alt E A M
Ctrl + C / Ctrl + X
Ctrl + V (or enter)
Alt E S T
Alt E S F
F2
Ctrl + R / Ctrl + D
Ctrl + Shift + P
Ctrl + Shift + F
Shift + F3 (or Alt I F)
F5
Ctrl + Arrow Keys
Ctrl + Shift + Arrow Keys
Ctrl + [ (or F5, Enter)
Alt D G G (or Shift + Alt + →)
Alt O R E
Ungroup rows or columns
Edit Cell Mode / Show dependents
Highlight entire column
Highlight entire row
Insert / Delete
Move a sheet / Copy a sheet
Move between toolbars
Move between worksheets
Name a cell
Name a worksheet
Page setup
Print
Print preview
Redo
Repeat
Find
Replace
Set print area
Undo
Workbooks - toggle
Zoom - sizing
Column Width
Alt D G (or Shift + Alt + ←)
F2 (or Alt T U D)
Ctrl + Spacebar
Shift + Spacebar
Ctrl + + / Ctrl + Alt E M / Alt E M, Alt + C
Alt, Ctrl + Tab
Ctrl + Page Up / Ctrl + Page Down
Alt I N D (or Ctrl + F3)
Alt O H R
Alt F U
Ctrl + P
Alt F V
Ctrl + Y
F4
Ctrl + F
Ctrl + H
Alt F T S
Ctrl + Z
Ctrl + Tab
Alt V Z
Alt O C W
Excel Workshop 10/20/04
Commonly Used Function
Type of Function
Common Use
Formula
Absolute function
Parity check
=ABS(number)
And function
If statement logic
=AND(logical argument 1, logical argument 2…)
Choose function
Scenarios
=CHOOSE(index number, value 1, value 2….)
Columns function
To count N periods (e.g., rate function)
=COLUMNS(reference range)
Comp. annual growth rate
IRR and growth over a period (1)
=RATE(periods, payment, -PV, FV, type)
Count function
Data Mining
=COUNT(value 1, value 2, value 3…)
Hlookup function
Used to reference inputs on an output page
=HLOOKUP(lookup, array, row, index, range lookup)
If statement
Error handling and switches
=IF(logical test, value if true, value if false)
Net present value
Discounted cash flow analysis (2)
=NPV(rate, vlaue 1, value 2, value 3…)
Offset function
Scenarios
=OFFSET(reference, rows, columns, height, width)
Or function
If statement logic
=OR(logical argument 1, logical argument 2…)
Sum-of-years digits depreciation
Modeling depreciation
=SYD(cost, salvage, life, period)
Text function
Footnotes, titles, and subtitles
=TEXT(value, "format of text")
Vlookup function
Used to reference inputs on an output page
=VLOOKUP(lookup, array, column index, range lookup)
[(FV/PV)^(1/N)] - 1
(1) Compound annual growth rate formula:
(2) Net present value formula:
1
2
N
CF1/(1+r) + CF2/(1+r) + CFN/(1+r)
Excel Workshop 10/20/04
Data Types
Examples
Data Type
Jeff
10.0
$10.00
10/18/2004
Text
Number
Currency
Date
Static
55.0%
10.00₮
18-Oct
10.0x
£10.00
18-Oct-04
10
10.00 zł
10/18/04 12:00 AM
10
2004
Operating Income
150
10.0000
($10.00)
10/18
10
1
2
3
4
5
6
7
8
9
10
Sales
COGS
SGA
=function()
10.000
($10.00)
Monday, October 18, 2004
2003
2002
2001
2000
1999
1500
350
750
1450
305
620
1400
260
490
1350
215
360
1300
170
230
1250
125
100
400
525
650
775
900
1025
Margins
COGS/Sales
SGA/Sales
23.3%
50.0%
21.0%
42.8%
18.6%
35.0%
15.9%
26.7%
13.1%
17.7%
10.0%
8.0%
Operating Income/Sales
26.7%
36.2%
46.4%
57.4%
69.2%
82.0%
Sum =
Average
Median
Mode
Count
CountIf
Max
Min
=RAND()
150
730
5,143
725
5,412
150
1,354
13,664
1,952
730
150
7
2
5,412
150
0.6526502
Running Total
150
880
6,023
6,748
12,160
12,310
13,664
% of Total
1.1%
5.3%
37.6%
5.3%
39.6%
1.1%
9.9%
100.0%
6,000
5,000
4,000
3,000
Series1
2,000
1,000
0
1
*Counts the number of times the Mode appears
The number generated will always be between 0 and 1.
This can be altered by multiplying/dividing,
adding/subtracting, etc the random number by a constant.
2
3
4
5
6
7
1) Create a set of 100 randomly chosen numbers between 1 and 1,000
2) Define which random numbers are associated with the different coin selections
(penny, nickle, dime, quarter)
3) Create a set of 100 coins based on the previous instructions
4) Determine how many of each coin were selected
5) Determine the total value of pennies, nickles, dimes, and quarters
6) Determine the total value of the most frequently selected coin
7) Determine the total value of the least selected coin
8) Make data look presentable
9) Create a bar chart to show the number of each type of coin selected