Professional Documents
Culture Documents
Excel's Golden Rule: If formula input data can change, put it in cell and refer to it with cell references. If data will not chan
2 Formula Elements.
1 Equal sign (starts all formulas).
2 Cell references (also defined names, sheet references, workbook references, table nomenclature).
3 Math operators.
4 Numbers (if the number will not change; for example, 12 months, 24 hours).
5 Functions (IF, MATCH, INDEX, COUNTIF, and so on).
6 Function argument elements (such as a 0 in the third argument of MATCH to tell function to do an "Exact Match" l
7 Comparative operators.
8 Join operator: Ampersand (join symbol: &).
9 Text within quotation marks (for example, "For the Month Ended").
10 Array constants (for example, {1,2,3}).
3 Math Operators.
+ Adding.
- Subtracting or Negation.
* Multiplying.
/ Dividing.
^ Raising to an exponent.
() Parentheses.
4 Comparative Operators.
= Equal: are two things equal?
<> Not: are two things not equal? Type less than symbol, then greater than symbol.
> Greater than: is the thing on the left greater than the thing on the right?
>= Greater than or equal to: is the thing on the left greater than or equal to the thing on the right?
< Less than: is the thing on the left less than the thing on the right?
<= Less than or equal to: is the thing on the left less than or equal to the thing on the right?
5 Types of Formulas.
1 Calculating Formulas that calculate a number answer (like adding)
2 Logical Formulas that give you a logical value, either TRUE or FALSE (like formulas that say whether two accounts a
3 Text Formulas that deliver a word to a cell or create labels for reports (like a label for a loan payment).
4 Lookup Formulas that look up an item in a table (like looking up a price for a product).
5 Array Formulas are advanced formulas that act on arrays (ranges) instead of individual cell references, or formulas
Array formulas can deliver results that are calculating, logical, text, or lookup.
Note:
* Because the number $10,500.00 can change, we put it in a cell and make formulas that refer to it with cell refere
* Because the number 12 will not change, we type it directly into the formula.
Ex 2 Type of Formula:
Calculating.
Formula Elements:
Equal sign, cell reference, math operator, number.
Amount $25,256.00
Tax (inefficient formula) Formula you do not want to create: =D90*0.125
Label AND put variable formula input into cell (Golden Rule)
Tax Rate 0.125
Tax (inefficient formula) Efficient formula: =D90*D94
Revenue $60,000
Administrative Expense $18,360
Operational Expenses $32,088
Other Expenses $312
Net Income Number aligned RIGHT
Ex 5 Type of Formula:
Logical.
Formula Elements:
Equal sign, cell reference, comparative operators (equal sign).
DR CR
322.00 322.00 Ctrl + Shift + ~
172.01 172.01
144.10 144.10 In Balance?
638.11 638.11
Note:
* Formulas calculate upon the underlying numbers.
* Number Formatting (Decreasing Decimals) does not remove the "unseen" decimals.
* In this way, formulas can better analyze a spreadsheet than a person can be just "eyeing it".
Ex 6 Type of Formula:
Text.
Formula Elements:
Equal sign, cell reference, ampersand, text in quotes.
First Last First & Last
Bill Jelen
Joe Smith
Sioux Franks
Bob Chin
Luong Girvin
Ex 7 Type of Formula:
Calculating.
Formula Elements:
Equal sign, COUNTIF function, range of cells, cell reference.
Hurdle >350
# of Sales Greater Than 350 Also: SUMIF and AVERAGEIF
Sales
$312.00
$295.00
$294.99
$675.00
$452.00
$195.00
Ex 8 Type of Formula:
Calculating.
Formula Elements:
Equal sign, COUNTIF function, range of cells, comparative operator in quotes, ampersand, cell reference.
Hurdle 475
# of Sales Greater Than 475
Sales
$312.00
$295.00
$294.99
$675.00
$452.00
$195.00
Ex 9 Type of Formula:
Calculating.
Formula Elements:
Equal sign, SUMIFS function, range of cells, cell reference.
SUMIFS to add with two criteria.
SalesRep Product Total Units
Chelia Product 1
Ex 10 Type of Formula:
Calculating.
Formula Elements:
Equal sign, SUMIFS function, range of cells, cell reference.
SUMIFS to add between 2 dates.
Lower Upper Total Units
>=9/22/2013 <=9/23/2013
9/22/2013 9/23/2013
1000 1500
Ex 11 Type of Formula:
Calculating.
Formula Elements:
Equal sign, NETWORKDAYS.INTL, Absolute & Relative cell references, function argument element.
F4 key toggles between the four types of basic cell references
Start Date for Project End Date Workdays
9/17/2013 10/12/2013
9/27/2013 10/1/2013
10/1/2013 10/12/2013
10/1/2013 10/28/2013
10/15/2013 10/22/2013
10/28/2013 11/15/2013
Ex 12 Type of Formula:
Calculating.
Formula Elements:
Equal sign, mixed cell references, math operator.
Jan Feb Mar
Revenue $55,900 $62,500 $64,500
COGS
Operating Expenses
Administrative Expenses
Tax Expense
Note:
* Understanding and using mixed cell references has two advantages: 1) Formula creation time can be reduced,
2) Some advanced Excel techniques can only be done with mixed cell references (example: conditionally formatti
Ex 13 Type of Formula:
Lookup Formula.
Formula Elements:
Equal sign, VLOOKUP function, cell reference, range of cells, function argument element.
Drop-down arrow: Data Ribbon, Data Validation, List
Amount Commission
0 0
500 0.025
2000 0.04
10000 0.065
15000 0.09
Ex 15 Type of Formula:
Lookup Formula or Logical Formula.
Formula Elements:
Equal sign, MATCH and/or ISNA and ISNUMBER functions, Absolute & Relative cell references, function argument e
MATCH to compare 2 lists.
List 1 List 2
Prospective Is Item in List 2 in List
Company Customer List Customer List 1?
WFMI QFC
PCC PCC
SWY FM
KG SFM
WM
Is Item in List 2 in List
FM List 2 1?
QFC
PCC
FM
SFM
Ex 16 Type of Formula:
Lookup Formula.
Formula Elements:
Equal sign, INDEX and MATCH, cell references, range of cells, function argument element.
INDEX and MATCH to lookup Left.
Product ID
Boom2
ID Product Price
SS-325 Boom1 $22.00
DTR-6456 Boom2 $23.00
HH-3874 Boom3 $19.00
igned RIGHT
igned RIGHT
IF and AVERAGEIF
d, cell reference.
Product
Also: SUMIFS and AVERAGEIFS Product 1
Product 2
Holidays:
10/5/2013
11/1/2013
Sunday is off
Apr May
$72,550 $75,010
igned RIGHT
Price
nt element.
Notes:
<<== #N/A means "not in list"
<<== Number means it found it
<<== Number means it found it
<<== #N/A means "not in list"
he main contributors to faulty spreadsheets.
SalesRep
Sioux
Chelia
Phil