Vous êtes sur la page 1sur 51

LastName Sales Country Quarter LastName Sales Country

Smith 16000 UK Qtr 3 >=16000


Johnson 14000 USA Qtr 4
Jones 10000 UK Qtr 2
Brown 1390 USA Qtr 4
Williams 4000 UK Qtr 1
Johnson 9000 UK Qtr 4
Jones 3000 UK Qtr 2

Question: To display the sales in the USA and in Qtr 4, execute the following steps.

1 Enter the criteria shown below on the worksheet.

Criteria
LastName Sales Country Quarter
USA Qtr 4

2 Click any single cell inside the data set.


3 On the Data tab, in the Sort & Filter group, click Advanced.
4 Click in the Criteria range box and select the range B14:E15
5 Click OK.
Quarter LastName Sales Country Quarter AND-Criteria
Jones >=10000

LastName Sales Country Quarter OR-Criteria


Jones
Brown

LastName Sales Country Quarter OR-Criteria


Jones
3000

Using
wildcard:
it represents any number of characters. For example, ex* could mean excel, excels, example,expert etc.
?(question mark) - it represents one single character. For example tr?,mp could mean trump or tramp.
~ tilde - it is used to identify a wildcard character(~,*,?) in text.

LastName Sales Country Quarter


J* note : that * represents any number of characte

LastName Sales Country Quarter


J?e note: that ? Represent a single character while *
els, example,expert etc.
mean trump or tramp.

* represents any number of character, so any rep with name starting with j could be filtered with this criteria.

Represent a single character while * represents multiple. So if we are looking to filter for jones, we should use j?n
S.No String Functions
1 CHAR 1 Number Result
2 CLEAN 65 A
3 CODE 97 a
4 CONCATENATE 66 B
5 DOLLAR This 10
6 EXACT Cell
This
contains
7 FIND 2 Cell
Number
line Result
contains
8 FIXED breaks
line This Cell contains line breaks
9 LOWER breaks This Cell contains line breaks
10 UPPER
11 PROPER 3 Number Result
12 REPLACE A 65
13 REPT Apple 65
14 SEARCH * 42
15 TEXT
16 TRIM 4 Number Result
17 VALUE Apples Apples Pears
Pears Number of Pears:40
40

5 Number Result
110.25 $110.25
110.25 $110
110.25 $100
110.25 $110.25

6 Find within
p Apple
p Apple
pl Apple

7 Input Result
HELLO EXCEL hello excel
post code:123 post code:123
#hello_world! #hello_world!

8 Input Result
hello excel HELLO EXCEL
post code:123 POST CODE:123
#hello_world! #HELLO_WORLD!

9 Input Result
hello excel Hello Excel
to be or not to be To Be Or Not To Be

10 Input
alphabet soup

11 Text Times
- 5
xo 3

12 Find Text
A Apple
p Apple
the The cat in the hat
00?? 01-A-0010

13 Value Result
12/17/2013 Tue,December 17
100 $100.00
1-Apr-14 01,April,2014
1/11/2016 Mon,Jan,11
1/11/2016 sale begins january 11

14 Input Result
many spaces many spaces
even more spaceeven more spaces

15 Value Result
$ 125.00 125
12:00 0.5
6/1/2005 38504
Notes CHAR(number)
uppercase "A" i= ANSI#65
Lowercase letters are upper case +32
returns "B"
adding line breaks with char(10)=newline

Notes CLEAN(text)
Removing Line Breaks
Using CLEAN with TRIM

Notes CODE(text)
uppercase "A" = ANSI number 65
Code returns value for first character
code for asterisk character

Notes CONCATENATE(text1,text2)

concatenated text and numbers

Notes
Default is two decimal places
zero decimal places
-2 decimal places
Using text instead of dollar text is more popular then dollar

start result notes


2 start number is optional and defaults to 1
1 2 result based on first occurrence
1 3 finding more than one char

Notes
spaces are unaffected
numbers are unaffected
punctuation is unaffected

Notes
spaces are unaffected
numbers are unaffected
punctuation is unaffected

Notes
spaces are unaffected
all words are capitalized

betabet soup

Result Notes
----- repeat hyphen 5 times
xoxoxo repeating more than one char

Start Result Notes


1 start number is optional; defaults to 1
1 2 result based on first occurrence
1 1 search is NOT case sensitive
1 #VALUE! search supports wildcards ? And *

Notes
custom date format
currency format
format a date to use in text message
convert date to text
sale begins January 11

Notes
extra spaces are replaces with one space
leading and trailing spaces are removed

Notes
S.No String Functions
1 ABS
2 AVERAGE
3 AVERAGEIF
4 CEILING
5 CONVERT
6 COUNT
7 COUNTA
8 COUNTBLANK
9 COUNTIF
10 COUNTIFS
11 LN
12 MAX
13 MIN
14 MEDIAN
15 MOD
16 POWER
17 PRODUCT
18 RAND
19 RANDBETWEEN
20 ROUND

AVERAGE AVERAGEIF Return Value

returns the get the average of a number


average numbers that representing
(arithemetic meet criteria average
means) of
numbers
provided.

Example: Test1 Test2 Test3 Test4


AVERAGE 90 90 0 60
AVERAGEIF 90 90 0 90

Function: Purpose Return Value

Rounds a number
to nearest
specified A rounded
CEILING multiple. number

Example: Number Significance Result Notes


CEILING 10 3 12 Rounds up to nearest multiple of 3
CEILING 36 7 42 Rounds up to nearest multiple of 7
CEILING 610 100 700 Rounds up to nearest multiple of 100
CEILING 5.37 0.005 5.37 Rounds up to nearest multiple of .005

Function: Purpose : Return Value:

A number in
Convert the
measurement measurement
CONVERT units system

Syntax: =CONVERT(number,from_unit,to_unit)
Number The numeric value to convert
from_unit the starting units for number
to_unit the endings units for result

Example: Number Unit Result Notes


CONVERT 24 2 from inch to f
CONVERT 5 -15 from fahreinheit to celsius
CONVERT 2 120 from minutes to seconds

Function: Purpose: Return Value

A number
Count cells that representing
Countif match criteria count.

Function: Sales Rep State Sales Examples


COUNTIF Jim MN 100 Count of sales over 100
COUNTIF Sarah CA 125 Count of sales by Jim
COUNTIF Jane GA 200 Count of sales in california
Steve CA 50
Jim WY 75

Function: Purpose: Return Value

Count the A number


number of blank representing
COUNTA cells. non blank cells.

Function: FirstName LastName Score


CountA a d
CountA b e
CountA c f

Function: Purpose: Return Value

a number
Count cells that representing
COUNTBLANK are blank blank cells

LN Purpose calculates natural logarithm of a given number

1 0
100 4.605170186

Function: Purpose: Return Value


get the largest the largest
MAX value value in array
get the smallest the smallest
MIN value value in array

MAX First Last Score


MIN sarah brown 84
justin duncan 69
troy johnson 90

Function: Purpose: Return Value:

it returns the
statistical median a number
MEDIAN (the middle value) representing
of a list of middle value
supplied numbers

list1
1 7.5
4.5
7
8
13
14

Function: Purpose: Return Value

MOD get the remainder the remainder


afer one number
is divided by
another
Number Divisor Mod Func Notes
Example: 12 4 0 get remainder from division
-3 2 1 get remainder from division
3 -2 -1 get remainder from division
54 7 5 get remainder from division

Function: Purpose: Return Value

calculates a
POWER number raised to raised number
a power to the specified
power
Number power formula
2 2 4
2 8 256
3 4 81
5 5 3125

Function: Purpose: Return Value

representing
product of
PRODUCT returns the numbers
product supplied
(multiplication) of
a supplied set of
numerical values

num1 num2 formula


3 6 18

Function: Purpose: Return value


get a random it might
RAND number between generate any
0 and 1 number

RANDBETWEEN bottom num1 top num2 Return value

get a random randbetween calculates a new value each


integer value time ws is calculated.
between two
values 10 100 90

Function: Purpose: Return Value

rounds a number rounds the


ROUND to a given number number to
of digits. specified
decimal place
number digits result notes
5.785 1 5.8 rounds to 1 decimal place
5.785 2 5.79 rounds to 2 decimal place
5.785 3 5.785 rounds to 3 decimal place
23442.5 0 23443 rounds to nearest whole number
23442.5 -1 23440 rounds to nearest 10
23442.5 -2 23400 rounds to nearest 100
23442.5 -3 23000 rounds to nearest 1000
Notes
Zero Included With Average
Zero Ignored With Averageif

few examples
few examples
few examples
few examples

2 1
2 2
2 3
3
3
Max 90 get largest val
Min 69 get lowest val
S.No Logical Functions
1 CELL
2 Error.Type
3 INFO
4 Isblank
5 ISERR
6 ISERROR
7 ISLOGICAL
8 ISNOTEXT
9 ISNUMBER
10 ISTEXT
11 TYPE
12 N
13 NA

Function Purpose Return Value


a text value
Cell get informtion about cell

Example Info Type Result Notes


100 address $B$20
100 row 21
100 col 2
100 format F0
100 contents 100
100 type v
100 width 22
100 prefix Y

Use cell function to extract wide range of information about cell.

info_type Description
address returns the address of the first cell in reference (as text).
col returns the column number of the first cell in reference.
color returns the value 1 if the first cell in reference is formatted using color for negative value
contents returns the value of the upper-lef cell in reference. Formulas are not returned. Instead,
filename returns the file name and full path as text. If the worksheet that contains reference has n
format returns a code that corresponds to the number format of the cell. See below for a list of
parentheses returns 1 the first cell in reference is formatted with parentheses and 0 if not.
prefix returns a text value that corresponds to the label prefix - of the cell: a single quotation m
protect returns 1 if the first cell in reference is locked or 0 if not.
row returns the row number of the first cell in reference.
type returns a text value that corresponds to the type of data in the first cell in reference: "b"
width returns the column width of the cell, rounded to the nearest integer. A unit of column w
2 Error.Type

Function Purpose Return value

test for a specific an error number or


error.type error value #n/a if no error

Example: Result contents


#DIV/0! 2 #DIV/0!
#DIV/0! 2
#DIV/0! 2 Err:502
#DIV/0! 2 #NAME?
#DIV/0! 2 #N/A
100 #N/A 100

3 INFO

Function Purpose Return Value

get information
about current the information
INFO enviornment requested.

Type Windows result description/contents


numfile 1 no of active ws in open workbooks
directory #N/A path of current directory or folder
origin #N/A first visible cell at upper lef
osversion Windows (32-bit) Nos version
release 10m0(Build:2) excel version
recalc Automatic recalculation mode

note : - its a volatile function and will update each time a change is made to ws.

4 ISERROR
Function Purpose Return Value
ISERROR test for any error a logical value

values result notes


#DIV/0! 1
use the iserror func to see if a cell contains any error msg, including #n/a, #value!, etc

5 ISLOGICAL

Function Purpose Return Value


test if a value is
ISLOGICAL logical a logical value ( true or false)

values formula notes


1 0 if value is true or false, this func will return TRUE
0 0 if value is true or false, this func will return TRUE
1 0 if value is true or false, this func will return TRUE

6 ISNONTEXT
Function Purpose: Return Value
test for non text
ISNONTEXT value a logical value

Use ISNONTEXT func to check if a value is not text.

Example: Return value


abc 0
123 1

7 ISNUMBER

Function Purpose Return Value comments


test for numeric
ISNUMBER value a logical value use isnumber to check if a value is number,

8 ISTEXT

Function Purpose Return Value comments

ISTEXT test for text value a logical value use istext to check if a value is text istext wil

9 Function Purpose Return Value


get type of value in a numeric code
TYPE cell representing type.

Type code: Meaning


1 number
2 text
4 logical value
16 error value
64 array

10 N
Function Purpose Return Value
convert a value to
N number a number or error code.

if value is or refers to N returns


a number that number
a date the serial no of date
1 1
0 0
an error value, such as #div/0! the error value
anything else 0

11 Function Purpose Return Value


NA create an #N/A erroThe #N/A error

Use NA to generate the #N/A. #N/A means "not available" or "no value available". For example, you can use NA to fl
When other formulas refer to cells that contain #N/A, the also return #N/A.
NA takes no arguments, but you must provide empty parentheses.
You can also enter the value #N/A directly into a cell.
color for negative values; or zero if not.
e not returned. Instead, the result of the formula is returned.
contains reference has not yet been saved, an empty string is returned.
l. See below for a list of number format codes. If the first cell in reference is formatted with color for values < 0, then "-" is appended to the
s and 0 if not.
cell: a single quotation mark (') if the cell text os lef-aligned, a double quotation mark (") if the cell text is right-aligned, a caret (^) if the ce

rst cell in reference: "b" for blank when the cell is empty, "l" for label if the cell contains a text constant, and "v" for value if the cell contai
eger. A unit of column width is equal to the width of one character in the default font size.
eck if a value is number, isnumber will return TRUE, when value is numeric, false when its not.

a value is text istext will return TRUE, false when its not.
ple, you can use NA to flag cells that are empty or missing information.
s < 0, then "-" is appended to the code. If the cell is formatted with parentheses, returns "() - at the end of the code value.

right-aligned, a caret (^) if the cell text is centered text, a backslash () if the cell text is fill-aligned, and an empty string if the label prefix is a

nd "v" for value if the cell contains anything else.


the code value.

mpty string if the label prefix is anything else.


S.No Date & Time Functions
1 DATE
2 DATEDIF
3 Days360
4 HOUR
5 MINUTE
6 SECOND
7 MONTH
8 NETWORKDAYS
9 NETWORKDAYS.INTL
10 NOW
11 TIME
12 TIMEVALUE
13 TODAY
14 WEEKDAY
15 YEAR

1 Year Month Day Serial Date Formatted Date


DATE 2016 8 31 8/31/2016
2016 6 30 6/30/2016
2016 1 4 1/4/2016
2016 12 4 12/4/2016

2
DATEDIF StartDate EndDate Unit Result Notes
1/1/2010 3/1/2013 Y 3 Difference in complet
1/1/2010 3/1/2013 M
1/1/2010 3/1/2013 D

DAYS360 StartDate EndDate Result Notes


1/1/2013 12/31/2013 360 12*30 days/per month
2/1/2013 3/31/2013 60 feb calculates to 30 days
6/1/2013 12/10/2013 189 5 months * 30 days

Purpose: Get days between 2 dates in a 360-day year


Return Value a number representing days

HOUR Time Results Notes


12:00 PM 12 12
12:30 PM 12 minutes are ignored
8/20/2016 16:04 16 dates are ignored
12:00 AM 0 midnight is zero
Purpose: get hour as a number (0-23) from a Time
Return Value a number between 0 and 23.

MINUTE Time Results Notes


12:10 PM 10
12:30 PM 30 hours are ignored
8/20/2016 16:04 4 date component is ignored

Purpose: get the minute as a number(0-59) from time.


Return Value a number between 0 and 59

SECOND Time Results Notes


12:10:09 PM 9 Basic usage : only seconds are returned
12:10 PM 0 time contains no seconds
11/14/2017 9:11 20 date component is ignored

MONTH Date Month NameFormula


1/1/2000 1
8/4/2012 8
3/25/2010 3

Purpose: Returns the month of a date represented by a serial number.


The month is given as integer,ranging from 1 to 12

NETWORKDAYStartDate EndDate Result Notes


1/1/2013 12/31/2013 261 weekends have been excluded
12/23/2013 12/31/2013 7 weekend excluded
12/23/2013 12/31/2013 5 weekends + holidays excluded

Holidays
Christmas eve 24-Dec-13
Christmas day 25-Dec-13

Purpose: get the number of working days between two dates


Return Value a number representing days

Usage Notes:

a network days function calculates the number of working days between two dates, networkdays automatically e
network days can be used to calculate employees benefits that accrue based on days worked.
the number of days available during a project
the number of working days required to resolve a customer issue and so on
NOW Result Notes
8/20/2016 16:26 Now

Purpose: display current date and time.


Return value: a serial number representing a particular date and time in excel.

TIME Hour Minute Second Formula


12 0 0 12:00 PM
16 48 10 4:48 PM

TIMEVALUE Time Result Notes


10:30:00 AM 0.4375 b102 formatted as text
8/20/2016 4:33:28 PM 0.68990741
Purpose: get a valid time from a text string
Return Value a decimal representing a particular time in excel.

TODAY Result Notes


=TODAY() today

Purpose: get the current date


Return Value a serial number representing a particular date in excel.

WEEKDAY Date Type Result Notes


7/1/2013 1 2 no type supplied, defaults to 1
7/1/2013 1 2
7/1/2013 2

Purpose: get the day of week as a number


Return Value a number between 0 and 7.

Arguments
serial_number the date for which you want to get the day of week.
return_type a number 1-3 representing day of week mapped scheme. Default is 1

return_type specifies the scheme used to map the day of week,


the default is 1
the available mapping schemes are as follows:

return_type 1: numbers 1-7 (sun thru sat)- default


return_type 2: numbers 1-7(mon thru sun)
return_type 3: numbers 0-6 (mon thru sun)

YEAR Date Result Notes


1/1/2013 2013
Purpose: get the year from date
Return Value a number representing year
3
38
1155

ys/per month
ates to 30 days
s have been excluded 261

s + holidays excluded

dates, networkdays automatically excludes weekends and optionally holidays.


on days worked.
time in excel.

heme. Default is 1
Date Sales Rep Sales Sales Rep Total Date Sales Rep
9/25/13 Ereney $323 Chunfei $6,797 9/15/2013 Dalia
11/1/13 Elaine $105 Dalia $7,591 9/15/2013 Dalia
11/24/13 Devi $224 David $7,731 9/15/2013 Devi
11/1/13 Jim $173 Devi $8,443 9/15/2013 David
11/26/13 Dalia $239 Elaine $8,991 9/15/2013 David
12/8/13 Devi $207 Ereney $6,201 9/15/2013 David
12/9/13 Elaine $316 Jenifer $5,992 9/15/2013 David
11/1/13 Jennifer $391 Jennifer $9,677 9/15/2013 Dalia
10/24/13 Sheri $322 Jesse $5,066 9/15/2013 Devi
11/20/13 Ereney $105 Jim $8,483 9/15/2013 Devi
10/7/13 David $112 Joey $7,457
12/3/13 Devi $150 Michael $12
11/2/13 Elaine $133 Michelle $7,912
9/26/13 Sandra $152 Nelya $9,026
11/23/13 Sheri $230 Sandra $5,519
10/14/13 Dalia $303 Sheri $7,500
10/20/13 Joey $384
12/9/13 Joey $208
12/13/13 Jim $232
10/9/13 Nelya $328
12/9/13 Chunfei $131
11/19/13 Dalia $287
11/14/13 Sandra $321
11/4/13 Jim $360
10/29/13 Ereney $166
11/1/13 David $285
12/6/13 Elaine $252
11/16/13 Jim $113
12/2/13 David $396
11/4/13 Sandra $265
9/16/13 Sandra $218
9/26/13 Jennifer $378
11/12/13 David $226
11/13/13 Joey $238
10/30/13 Michelle $321
11/16/13 Sheri $193
12/13/13 Nelya $223
10/29/13 Chunfei $113
10/31/13 Dalia $135
12/6/13 Ereney $217
11/23/13 Elaine $272
12/11/13 Joey $308
9/26/13 Elaine $338
9/18/13 Nelya $389
9/22/13 Jennifer $133
11/15/13 Michelle $146
10/31/13 Dalia $321
12/11/13 David $373
12/10/13 Jenifer $236
11/1/13 Devi $336
12/11/13 Jim $125
12/14/13 Jenifer $308
11/10/13 Jenifer $100
12/1/13 Ereney $335
9/22/13 Nelya $395
12/9/13 Jennifer $170
11/11/13 Jennifer $360
11/9/13 Jennifer $374
10/19/13 Nelya $150
12/2/13 Devi $385
9/18/13 Sheri $162
11/24/13 Michelle $292
9/28/13 Jesse $156
11/8/13 Dalia $207
12/8/13 Sheri $230
9/24/13 Chunfei $268
11/25/13 Jennifer $359
11/14/13 Michelle $124
10/7/13 Jim $308
9/27/13 Jesse $248
10/16/13 Dalia $105
12/2/13 David $331
9/25/13 Elaine $240
10/9/13 Elaine $159
11/23/13 Michelle $269
12/7/13 Nelya $123
10/1/13 Michelle $394
10/31/13 Michelle $201
12/7/13 Sheri $147
11/22/13 Joey $208
9/19/13 Elaine $190
10/8/13 David $312
11/15/13 Jennifer $358
11/11/13 Jennifer $141
10/28/13 Michelle $283
11/1/13 Ereney $254
10/13/13 Chunfei $278
11/6/13 Devi $274
11/12/13 Sandra $128
10/27/13 Sheri $338
12/14/13 Nelya $166
9/25/13 Dalia $332
10/8/13 Jenifer $242
10/6/13 Nelya $295
10/18/13 Dalia $323
9/23/13 Jenifer $325
10/1/13 Jim $273
12/8/13 Jesse $319
9/21/13 Jesse $118
9/17/13 Chunfei $317
9/16/13 Michelle $377
9/17/13 Chunfei $215
10/30/13 Sheri $327
12/10/13 Chunfei $287
11/12/13 Jennifer $186
10/9/13 Elaine $323
10/23/13 Devi $179
11/15/13 Nelya $336
12/12/13 Jesse $266
10/6/13 Jennifer $225
11/7/13 Ereney $252
9/18/13 Devi $370
11/26/13 Ereney $387
10/15/13 Devi $399
9/28/13 Jesse $233
9/30/13 Michelle $298
10/15/13 Dalia $373
12/9/13 Chunfei $246
11/27/13 Jenifer $183
11/14/13 Nelya $283
11/4/13 Elaine $209
12/3/13 Ereney $143
11/26/13 Joey $219
10/3/13 David $235
11/16/13 Devi $177
11/10/13 Devi $328
11/7/13 Ereney $273
9/26/13 Sheri $232
10/5/13 Jennifer $210
11/4/13 Joey $325
9/23/13 Jennifer $311
10/15/13 Jennifer $384
12/8/13 Chunfei $107
10/31/13 Devi $269
10/10/13 Michelle $309
10/18/13 Sandra $231
11/1/13 Jim $300
12/12/13 Dalia $291
11/11/13 Joey $171
9/24/13 Joey $151
9/26/13 Chunfei $262
10/1/13 Sandra $251
10/30/13 Nelya $124
11/28/13 Ereney $159
11/23/13 Nelya $330
10/5/13 Sandra $184
9/19/13 Nelya $344
10/8/13 Jesse $154
9/29/13 Sheri $105
12/10/13 Dalia $246
11/11/13 Sheri $210
12/6/13 Sheri $293
10/10/13 Sheri $182
12/14/13 Chunfei $138
10/21/13 Sandra $315
10/21/13 Ereney $121
12/11/13 Dalia $250
11/8/13 Dalia $141
10/15/13 Jennifer $189
10/12/13 Michelle $210
10/13/13 Devi $181
10/15/13 Jenifer $259
11/21/13 Sheri $214
10/29/13 Jenifer $191
12/10/13 Joey $180
12/2/13 Chunfei $348
11/30/13 Jim $276
12/3/13 Michelle $112
11/24/13 Jennifer $339
10/16/13 Jesse $171
10/22/13 Nelya $395
10/24/13 Devi $228
11/20/13 Michelle $367
10/23/13 Jennifer $289
11/11/13 Ereney $327
10/6/13 Elaine $354
11/23/13 Jesse $196
11/2/13 David $159
11/13/13 David $167
10/27/13 Jim $107
10/8/13 Jesse $363
12/12/13 Chunfei $275
10/12/13 Devi $330
10/15/13 Michelle $197
12/8/13 Jesse $353
12/5/13 Elaine $385
11/29/13 Ereney $330
10/26/13 Devi $248
10/11/13 Elaine $233
11/27/13 Elaine $116
11/13/13 Nelya $167
11/3/13 Sandra $339
9/26/13 Joey $163
12/4/13 Ereney $130
10/8/13 Chunfei $291
11/17/13 Jennifer $149
12/4/13 Jesse $129
12/4/13 Sandra $162
9/20/13 Nelya $259
12/11/13 David $291
9/19/13 Jesse $144
12/13/13 Jim $157
9/23/13 Jim $400
12/7/13 Devi $259
12/5/13 Dalia $184
9/27/13 Devi $171
11/28/13 Sheri $386
11/15/13 David $382
10/16/13 Jenifer $347
12/6/13 Devi $383
11/1/13 Jesse $184
11/11/13 Dalia $278
9/27/13 Jenifer $251
11/27/13 Jennifer $229
9/29/13 Jennifer $330
11/15/13 Michelle $136
12/7/13 Jennifer $227
12/8/13 Sandra $191
10/4/13 Sandra $373
10/31/13 Sandra $181
10/9/13 Jim $381
10/14/13 Sandra $365
10/1/13 David $205
10/13/13 Chunfei $251
12/6/13 Jennifer $389
11/11/13 Devi $279
10/13/13 Michelle $108
10/24/13 Jesse $148
10/20/13 David $267
12/13/13 Chunfei $183
11/17/13 Jim $373
9/23/13 Chunfei $310
10/12/13 Michelle $139
12/8/13 Jenifer $282
11/7/13 Sandra $298
9/15/13 Dalia $230
11/13/13 Devi $172
10/11/13 Sandra $360
10/21/13 Jesse $157
9/25/13 Michelle $228
10/31/13 Devi $197
10/3/13 Jim $267
11/23/13 Ereney $177
11/25/13 Ereney $215
12/7/13 Nelya $146
10/16/13 Nelya $352
12/6/13 David $331
11/25/13 Joey $274
10/21/13 Sheri $181
9/22/13 Jim $294
10/31/13 Michelle $288
11/2/13 Dalia $383
11/3/13 Elaine $209
9/17/13 Nelya $335
9/22/13 Sheri $120
12/7/13 Michelle $190
12/1/13 Jim $102
9/25/13 Jenifer $159
9/16/13 David $100
12/6/13 Elaine $389
12/11/13 Nelya $143
11/28/13 Chunfei $155
9/28/13 Michelle $162
11/19/13 Joey $357
9/25/13 Sheri $104
11/20/13 Joey $199
10/6/13 Jim $195
10/12/13 Joey $250
10/22/13 Sandra $236
10/31/13 Jesse $357
10/24/13 Chunfei $126
9/28/13 Sheri $139
11/16/13 Jennifer $378
11/8/13 Jennifer $336
9/25/13 Elaine $198
11/9/13 Michelle $375
11/5/13 Elaine $317
11/28/13 Elaine $287
9/29/13 Nelya $206
11/16/13 Devi $134
10/3/13 Devi $290
12/8/13 Chunfei $143
11/20/13 Devi $368
11/29/13 Sheri $101
11/17/13 Jim $126
10/1/13 Chunfei $302
11/25/13 Dalia $282
12/14/13 Jenifer $362
12/10/13 Joey $162
11/8/13 Sandra $118
9/27/13 Jennifer $233
11/4/13 Michelle $186
9/15/13 Michelle $197
10/22/13 Sheri $396
10/2/13 Jennifer $333
9/19/13 Dalia $122
10/12/13 Jim $171
11/25/13 Elaine $171
9/21/13 David $150
9/23/13 Devi $318
10/8/13 Elaine $252
12/10/13 David $198
10/10/13 Chunfei $335
10/9/13 David $297
10/24/13 David $291
12/4/13 David $100
11/1/13 Joey $213
12/7/13 Chunfei $334
11/8/13 Jennifer $312
10/20/13 Jim $319
11/30/13 Devi $240
9/20/13 Michelle $217
11/10/13 David $166
10/22/13 Jim $265
11/30/13 Dalia $139
10/11/13 Nelya $104
9/16/13 Joey $363
9/22/13 Nelya $331
10/20/13 Dalia $396
11/20/13 Jim $150
12/9/13 Ereney $346
12/7/13 Chunfei $330
12/13/13 Dalia $102
12/5/13 Jesse $190
9/18/13 Jenifer $239
11/6/13 Jennifer $209
9/18/13 Jim $254
11/4/13 Elaine $330
10/7/13 Joey $181
9/19/13 Sandra $259
10/4/13 Joey $339
12/2/13 Michelle $228
11/23/13 Elaine $333
11/4/13 Sheri $283
10/31/13 Devi $386
10/20/13 Jim $210
11/17/13 Nelya $134
11/27/13 Nelya $165
11/12/13 Jenifer $394
11/23/13 Jim $122
9/18/13 Chunfei $326
11/14/13 Jim $205
11/9/13 Elaine $268
11/6/13 Ereney $302
9/23/13 Jennifer $342
9/22/13 Elaine $164
10/1/13 Jenifer $193
10/15/13 Jenifer $391
9/20/13 Jenifer $162
9/18/13 Elaine $288
11/21/13 David $271
11/27/13 Nelya $379
11/6/13 Michelle $188
12/6/13 Elaine $373
11/18/13 Sheri $392
11/17/13 Michelle $216
9/15/13 Jenifer $196
9/17/13 Michelle $108
10/17/13 David $319
11/12/13 Sheri $364
12/9/13 David $387
12/11/13 Elaine $315
10/28/13 Joey $187
11/29/13 Elaine $391
10/26/13 Devi $273
10/23/13 Dalia $232
10/20/13 Jesse $308
11/5/13 Dalia $358
11/9/13 Sheri $140
11/25/13 Sheri $200
10/3/13 Sheri $336
12/10/13 Jenifer $216
11/17/13 Jenifer $136
11/20/13 Sandra $386
12/13/13 Michelle $308
10/20/13 Sheri $192
10/6/13 Dalia $186
11/29/13 Joey $353
10/3/13 Jim $369
12/9/13 Nelya $267
11/10/13 Jim $332
10/24/13 Jesse $347
11/5/13 Dalia $243
11/20/13 Joey $270
9/22/13 Dalia $267
12/4/13 Sheri $336
10/13/13 Dalia $178
11/16/13 Ereney $167
10/23/13 Jennifer $309
10/3/13 Ereney $398
12/5/13 Nelya $186
12/14/13 Elaine $226
11/10/13 David $366
10/18/13 Jim $296
12/12/13 Joey $261
10/1/13 Chunfei $118
9/17/13 Nelya $324
11/6/13 Sandra $186
9/24/13 Michelle $231
9/20/13 Nelya $104
10/15/13 Devi $291
10/16/13 Jennifer $246
10/15/13 Ereney $144
11/19/13 Nelya $135
10/3/13 Jennifer $366
9/26/13 Michelle $295
10/6/13 Nelya $398
11/4/13 Jenifer $326
12/12/13 David $295
11/17/13 Michelle $212
10/8/13 Jim $115
11/13/13 Jim $192
10/5/13 Nelya $325
10/19/13 Chunfei $228
10/9/13 Ereney $202
10/14/13 Ereney $385
10/12/13 Joey $105
10/9/13 Jenifer $109
12/12/13 Jenifer $219
11/13/13 Ereney $343
9/15/13 Jim $176
11/6/13 Joey $316
10/29/13 Sheri $364
11/2/13 David $162
11/1/13 Elaine $128
10/24/13 Nelya $332
11/26/13 Dalia $189
9/29/13 Nelya $116
12/13/13 Jim $270
11/4/13 Devi $397
12/13/13 Jim $144
11/13/13 Jim $331
11/3/13 Joey $147
11/21/13 Jennifer $147
10/6/13 Jennifer $345
11/10/13 Sheri $173
10/19/13 Joey $374
11/15/13 Jesse $161
10/8/13 Nelya $130
10/5/13 David $314
12/7/13 David $243
11/11/13 Joey $225
11/21/13 Jenifer $166
11/16/13 Elaine $345
12/10/13 Sheri $108
10/21/13 Nelya $107
12/12/13 Jesse $364
12/13/13 Michael $12
10/24/13 Joey $326
10/14/13 Dalia $269
9/18/13 Chunfei $380
9/20/13 Elaine $382
Sales Rep Count
Dalia 3
Devi 3
David 1
1 Excel's Golden Rule. (Dan Bricklin and Bob Frankston).
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 chang

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" lo
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 lef greater than the thing on the right?
>= Greater than or equal to: is the thing on the lef greater than or equal to the thing on the right?
< Less than: is the thing on the lef less than the thing on the right?
<= Less than or equal to: is the thing on the lef 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 ar
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 t
Array formulas can deliver results that are calculating, logical, text, or lookup.

6 How Formulas Calculate: Order of Precedence in Excel.


1 Parenthesis ( )
2 Reference Operators: colon, space, comma
Example of colon in range of cells: =SUM(A1:A4)
Example of intersection operator: =E12:G12 F10:F15 (retrieve what is in F12)
Example of comma (union): =SUM(E10:G10,E14:G14)
3 Negation (-)
Example: = -2^4 = 16
Example: = -(2^4) = -16
Example: --2+1 = 3
4 Converts % (1% to .01)
5 Exponents (^)
Example: 4^(1/2) = 2
Example: 3^2 = 9
6 Multiplication (*) and Division (/), lef to right
7 Adding (+) and Subtracting (-), lef to right
8 Ampersand (&)
9 Comparative symbols: =, <>, >=, <=, <, >

7 Number Formatting is a Faade.


1 What you see on the face of the spreadsheet can be different from the underlying number in the cell.
2 There can be a disconnect between what you see in a cell with your eyes and what is actually stored in the cell as co
3 Calculations are made upon the underlying number, not the Number Format that you see on the face of the sprea
Example: You can use the Decrease Decimal button to show fewer decimals, but that does not remove the decim
Example: Dates such as 12/1/2012 are serial numbers.
You "see" 12/1/2012 on the face of the spreadsheet, but the serial number 41,244 is what is actually in the ce
Formulas calculate upon the underlying serial number 41,244, not the date 12/1/2012.

8 Default Alignment in Excel.


1 Text is to LEFT. Excel is fun
2 Numbers are to RIGHT. 43
3 Logical values are CENTER. 1
4 Error values are CENTER. #DIV/0!

6 formula examples
Ex 1 Type of Formula:
Calculating.
Formula Elements:
Equal sign, cell reference, math operator, number.
Annual Insurance $13,500.00
Monthly Allocation $1,125.00

Note:
* Because the number $13,500.00 can change, we put it in a cell and make formulas that refer to it with cell referen
* 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 $7,000.00
Tax (inefficient formula) $875.00 Formula you do not want to create: =D90*0.125

Label AND put variable formula input into cell (Golden Rule)
Tax Rate 0.14
Tax (efficient formula) $980.00 Efficient formula: =D90*D94

Ex 4 Type of Formula:
1st: Text. 2nd: Calculating.
Formula Elements:
1st: Equal sign, IF function, cell reference, comparative operator, Text in Double Quotes.
2nd: Equal sign, IF function, cell reference, comparative operator, cell reference and number typed into formula.

Employee Sales Bonus? Bonus $


Buforrd Sutherland $40,717 No $0
Augusrd Sweat $61,197 Yes $500
Abbierd Trimble $89,044 Yes $500
Jeanerd Barclay $1,317 No $0
Susanrd Keefe $101 No $0
Danierd Hornsby $24,445 No $0
Carmerd Tenney $81,000 Yes $500

Ex 5 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

Exact lookup: FALSE or 0


Product Price QTY Total
Pro 3 $24.50 2 $49.00

Product Price Number aligned RIGHT


Pro 1 $22.00
Pro 2 $25.00 Product
Pro 3 $24.50 Pro 2
Pro 4 $30.00

Ex 6 Approximate lookup: TRUE, 1, or omitted


Amount Commission
$14,999 0.065

Amount Commission
$0 0
$500 0.025
$2,000 0.04
$10,000 0.065
$15,000 0.09
erences. If data will not change, you can hard code it into formula.

menclature).

tion to do an "Exact Match" lookup.).

say whether two accounts are in balance)


loan payment).

cell references, or formulas that deliver more than one item.


mber in the cell.
ctually stored in the cell as content.
u see on the face of the spreadsheet.
at does not remove the decimals for calculating purposes.

44 is what is actually in the cell.

hat refer to it with cell references.


to create: =D90*0.125
Why?
Formula input is not on the face of the spreadsheet where it is easy to change and audit.
Research has shown that imbedding variable formula inputs in formulas (hard coding) is one of the main contributors to faulty
http://www.strategy-at-risk.com/2009/03/03/the-risk-of-spreadsheet-errors/
The Risk of Spreadsheet Errors

mber typed into formula.

Hurdle
$50,000

Bonus Amount
$500

ligned RIGHT

Price
$25.00 <<== IFERROR
he main contributors to faulty spreadsheets.

Vous aimerez peut-être aussi