Académique Documents
Professionnel Documents
Culture Documents
Formula: =TRIM(text)
Argument:
text - string to be converted
Sample:
Text Formula Result
1. S I B S =TRIM($D15) SIBS
2. G R A CE =TRIM($D16) GRACE
3. P P H =TRIM($D17) PPH
Formula: =CLEAN(text)
Argument:
text - string to be converted
Sample:
Text Formula Result
1. SIBS_x0007_ =CLEAN(SIBS_x0007_) SIBS
2. SIBS =CLEAN(SIBS) SIBS
Formula: =UPPER(text)
Argument:
text - string to be converted
Sample:
Text Formula Result
1. phoenix =UPPER($D42) PHOENIX
2. Phoenix =UPPER($D43) PHOENIX
3. phoENIX =UPPER($D44) PHOENIX
Formula: =LOWER(text)
Argument:
text - string to be converted
Sample:
text Formula Result
1. PHOENIX =LOWER($D55) phoenix
2. Phoenix =LOWER($D56) phoenix
3. phoENIX =LOWER($D57) phoenix
E. PROPER - converts the first letter of a string to uppercase and all other letters in lowercase
Formula: =PROPER(text)
Argument:
text - string to be converted
Sample:
text Formula Result
1. PHOENIX =PROPER($D68) Phoenix
2. phoenix =PROPER($D69) Phoenix
3. phoENIX =PROPER($D70) Phoenix
Formula: =DOLLAR(number,[decimals])
Arguments:
number - string to be formatted
[decimals] - (optional) number of decimals to display; by default, the number of decimals is two (2)
Sample:
number [decimals] Formula Result
1. 123456 =DOLLAR($D84) $123,456.00
2. 123456 1 =DOLLAR($D85,$E85) $123,456.0
3. 123456 2 =DOLLAR($D86,$E86) $123,456.00
G. FIXED - Rounds a supplied number to a specified number of decimal places, and then converts this into text with or
without commas
Formula: =FIXED(number,[decimal],[no_commas])
Arguments:
number - string to be formatted
[decimal] - (optional) number of decimals to display; by default, the number of decimlas is two (2)
[no_commas] - (optional) separator of thousands (e.g. 1000 to 1,000); by default, the value is set to "FALSE" whic
means that the comma separator will be present while if the value is set to "TRUE" the comma separator will not
appear
Sample:
1. 123456 =FIXED($D101)
2. 123456 1 0 =FIXED($D102,$E102,FALSE)
3. 123456 2 1 =FIXED($D103,$E103,FALSE)
Arguments:
value - string to be converted
format_text - the pattern by which to format the value, enclosed in quotation marks (Note: See samples of forma
available in "Format Cells Dialog Box")
Sample:
number format_text Formula
1. 123456 MMM DD, YYYY =TEXT($D116,"MMM DD, YYYY")
2. 0.38 hh:mm:ss AM/PM =TEXT($D117,"hh:mm:ss AM/PM")
3. 123456 #,###.00 =TEXT($D118,"#,###.00")
Formula: =VALUE(text)
Argument:
text - string to be converted
Sample:
text Formula Result
1. Jun 20, 2019 =VALUE($D129) 43636
2. 9:07:12 AM =VALUE($D130) 0.38
3. 123,456.00 =VALUE($D131) 123456
Formula: =CONCATENATE(text1,text2…)
Arguments:
text1 - initial string
text2 - (optional-repeatable) more strings to append in sequence
Sample:
text1 text2 text3 Formula
1. Phoenix Publishing House =CONCATENATE($D145,$E145,$F145)
Formula: =LEFT(text,num_char)
Arguments:
text - string to extract to
num_char - character to retain (starting from left)
Sample:
Text num_char Formula Result
1. ABC 1 =LEFT($D157,$E157) A
2. Phoenix Publishing House, Inc. 7 =LEFT($D158,$E158) Phoenix
3. Collection Receipt 10 =LEFT($D159,$E159) Collection
L. MID - extract a character from the middle of the string
Formula: =MID(text,start_char,num_char)
Arguments:
text - string to count
start_char - string from which to begin
num_char - length of characters to extract
Sample:
Text start_char num_char Formula
1. Phoenix Publishing House, Inc. 8 11 =MID($D172,$E172,$F172)
2. Maria Pilar Fatima Sibal-Balbin 19 13 =MID($D173,$E173,$F173)
3. Advance Excel Functions 15 9 =MID($D174,$E174,$F174)
Formula: =RIGHT(text,num_char)
Arguments:
text - string to extract to
num_char - character to retain (starting from left)
Sample:
Text num_char Formula Result
1. C10000249 3 =RIGHT($D186,$E186) 249
2. Provisional Receipt 7 =RIGHT($D187,$E187) Receipt
3. CARF#15869 4 =RIGHT($D188,$E188) 5869
Formula: =REPT(text,number_times)
Arguments:
text - string to repeat
number_times - number of time text will be repeated
Sample:
INFORMATION FUNCTIONS
O. LEN - counts the number of characters in a string
Formula: =LEN(text)
Argument:
text - string to count
Sample:
Text Formula Result
1. Phoenix =LEN($D215) 7
2. Phoenix =LEN($D216) 8
3. Accounting =LEN($D217) 10
P. FIND - know the position of certain characters in particular string (Note: Case Sensitive Function)
Formula: =FIND(find_text,within_text,[start_num])
Arguments:
find_text - string to look for
within_text - string to search for
[start_num] (optional) - character within within_text at which to start the search
Sample:
within_text find_text [start_num] Formula
1. phoenix publishing house, inc. publishing =FIND($E230,$D230)
2. PHOENIX PUBLISHING HOUSE, INC. publishing =FIND($E231,$D231)
3. PHOENIX PUBLISHING HOUSE, INC. PUBLISHING 8 =FIND($E232,$D232,$F232)
4. ADVANCE EXCEL FUNCTIONS FUNCTION =FIND($E233,$D233)
Q. SEARCH - know the position of certain characters in particular string (Note: Non-case Sensitive Function)
Formula: =SEARCH(find_text,within_text,[start_num])
Arguments:
find_text - string to look for
within_text - string to search for
[start_num] (optional) - character within within_text at which to start the search
Sample:
within_text find_text [start_num] Formula
1. phoenix publishing house, inc. publishing =SEARCH($E246,$D246)
2. PHOENIX PUBLISHING HOUSE, INC. publishing =SEARCH($E247,$D247)
3. PHOENIX PUBLISHING HOUSE, INC. PUBLISHING 8 =SEARCH($E248,$D248,$F248)
4. ADVANCE EXCEL FUNCTIONS FUNCTION =SEARCH($E249,$D249)
R. EXACT - test if two supplied text strings are exactly the same and if so, returns "TRUE"; Otherwise, returns "FALSE"
(Note: Case sensitive Function)
Formula: =EXACT(text1,text2)
Arguments:
text1 - validating string
text2 - validating string
Sample:
text1 text2 Formula Result
1. phoenix PHOENIX =EXACT($D262,$E262) 0
2. PHOENIX PHOENIX =EXACT($D263,$E263) 1
3. phoENIX PHOENIX =EXACT($D264,$E264) 0
S. T - test if whether a supplied value is text and if so, returns the supplied text; if not, returns an empty string
Formula: =T(text)
Argument:
text - string to test
Sample:
text Formula Result
1. phoenix =T($D275) phoenix
2. 123456 =T($D276)
3. phoENIX =T($D277) phoENIX
Formula: =SUBSTITUTE(text,old_text,new_text,[instance_number])
Arguments:
text - string to seach to
old_text - word to replace
new_text - word that will replace old_text
[instance_number] - (optional) number of search and replace that will be done in a string. By default
all old_text will be replaced by new_text; however if [instance_number] is specified, only the
indicated instance will be replaced
Sample:
[instance_
Text old_text new_text Formula
number]
U. REPLACE - replaces all or part of a text string with another string from a user supplied position
Formula: =REPLACE(old_text,start_num,num_chars,new_text)
Arguments:
old_text - string to alter
start_num - starting location in the string to search
num_chars - number of characters to replace
new_text - string to replace the old_text
Sample:
Formula Result
) 123,456.00
,$E102,FALSE) 123,456.0
,$E103,FALSE) 123456.00
marks (Note: See samples of format
Formula Result
"MMM DD, YYYY") Jan 03, 2238
"hh:mm:ss AM/PM") 09:07:12 AM
"#,###.00") 123,456.00
Formula Result
D145,$E145,$F145) PhoenixPublishingHouse
Result
E172,$F172) Publishing
E173,$F173) Sibal-Balbin
E174,$F174) Functions
Result
BSSIBSSIBSSIBSSIBS
RACEGRACEGRACE
PHPPHPPHPPHPPHPPH
sitive Function)
Formula Result
$D230) 9
$D231) #VALUE!
$D232,$F232) 9
$D233) 15
Formula Result
46,$D246) 9
47,$D247) 9
48,$D248,$F248) 9
49,$D249) 15
e in a string. By default
pecified, only the
Formula Result
SUBSTITUTE($D294,$E294,$F294) fun-fun-fun-fun
SUBSTITUTE($D294,$E294,$F294) excel-fun-excel-excel
lied position
Formula Result
REPLACE($D309,$E309,$F309,$G309) excel-fun-excel-excel
REPLACE($D310,$E310,$F310,$G310) excel-excel-fun-excel
DATE & TIME FUNCTIONS
Formula: =DATE(year,month,day)
Sample:
Year Month Day Formula
1. 2019 2 16 =DATE($D12,$E12,$F12)
2. 2018 11 22 =DATE($D13,$E13,$F13)
3. 2017 8 5 =DATE($D14,$E14,$F14)
B. DATEVALUE - converts date string to a date value in numeric format (Note: this function can be used in 2 ways, 1.) e
date and excel date to this format "DD/MMM/YYYY")
Formula: =DATEVALUE(date_text)
Argument:
date_text - string to be converted
Sample:
date_text Formula Result
1. Jun. 19, 2019 =DATEVALUE("6/19/19") 43635
2. 19/06/19 =DATEVALUE($D27) Err:502
C. TIME - converts the provided hour, minute, and second into time format
Formula: =TIME(hour,minute,second)
Sample:
hour minute second Formula
1. 8 30 21 =TIME($D35,$E35,$F35)
2. 12 25 33 =TIME($D36,$E36,$F36)
3. 5 45 18 =TIME($D37,$E37,$F37)
D. TIMEVALUE - converts time string to a time value in numeric format (Note: time_text must be entered in text format
Formula: =TIMEVALUE(time_text)
Argument:
time_text - string to be converted
Sample:
date_text Formula Result
1. 6:45:00 AM =TIMEVALUE("6:45:00") 0.28125
2. 8:00:00 PM =TIMEVALUE("8:00:00") 0.8333333333
Sample:
Result
1. July 13, 2019 - 04:24:48
Formula: =TODAY()
Sample:
Result
1. July 13, 2019
Formula: =DAY(serial_number)
Argument:
serial_number -string to be converted
Sample:
serial_number Formula Result
1. Jun. 19, 2019 =DAY($D81) 19
2. May. 21, 2019 =DAY($D82) 21
Formula: =MONTH(serial_number)
Argument:
serial_number - string to be converted
Sample:
serial_number Formula Result
1. Jun. 19, 2019 =MONTH($D93) 6
2. May. 21, 2019 =MONTH($D94) 5
Formula: =YEAR(serial_number)
Argument:
serial_number - string to be converted
Sample:
serial_number Formula Result
1. Jun. 19, 2019 =YEAR($D105) 2019
2. May. 21, 2018 =YEAR($D106) 2018
J. WEEKNUM - takes a date and returns a week number (1-53 or 54) that corresponds to the week of the year
Formula: =WEEKNUM(serial_number,[return_type])
Arguments:
serial_number - string to be converted
[return_type] - (optional) number that represents the start of the week (Sunday = 1 or Monday = 2); by default, w
Sample:
serial_number [return_type] Formula Result
1. Jan. 10, 2019 =WEEKNUM($D119) 2
2. Jan. 22, 2019 2 =WEEKNUM($D119,$E120) 4
K. WEEKDAY - converts the date string to its number of the day in a week
Formula: =WEEKDAY(serial_number,[return_type])
Arguments:
serial_number - string to be converted
[return_type] - (optional) number indicating which numbering system to use to represents weekdays (1 = Sunday -
[return_type] arguments)
Sample:
serial_number [return_type] Formula Result
1. Jan. 01, 2019 1 =WEEKDAY($D133,$E133) 3
2. Jan. 02, 2019 1 =WEEKDAY($D134,$E134) 4
3. Jan. 03, 2019 1 =WEEKDAY($D135,$E135) 5
4. Jan. 04, 2019 1 =WEEKDAY($D136,$E136) 6
5. Jan. 05, 2019 1 =WEEKDAY($D137,$E137) 7
6. Jan. 06, 2019 1 =WEEKDAY($D138,$E138) 1
7. Jan. 07, 2019 1 =WEEKDAY($D139,$E139) 2
Formula: =EDATE(start_date,months)
Arguments:
start_date - start date (must be in date format)
months - number of months before (-) or after (+)
Sample:
start_date months Formula Result
1. Jan. 22, 2019 1 =EDATE($D153,$E153) Feb 22, 2019
2. Jan. 01, 2019 -1 =EDATE($D154,$E154) Dec 01, 2018
3. Jan. 01, 2019 12 =EDATE($D155,$E155) Jan 01, 2020
M. EOMONTH - adds or subtracts months from a specified date, but returns the day of the month
Formula: =EOMONTH(start_date,months)
Arguments:
start_date - start date (must be in date format)
months - number of months before (-) or after (+)
Sample:
start_date months Formula Result
1. Jan. 22, 2019 1 =EOMONTH($D167,$E167) Feb 28, 2019
2. Jan. 01, 2019 -1 =EOMONTH($D168,$E168) Dec 31, 2018
3. Jan. 01, 2019 12 =EOMONTH($D169,$E169) Jan 31, 2020
N. DAYS360 - determines the difference between two days based on the 360 day year
Formula: =DAYS360(start_date,end_date,[method])
Arguments:
start_date - start date to consider in calculation
end_date - end date to consider in calculation
[method] - (optional) indicator of what day the count method will use. By default it's value is "FALSE" which mean
the last day of the month, it is set to the 30th day of the same month. When the end date is the last day of the mo
the next month, otherwise the end date is set to the 30th of the same month. However, if the value is "TRUE" the
ending dates equal to the 31st of the month are set to the 30th of the same month.
Sample:
start_date end_date [method] Formula
1. Jan. 01, 2019 Dec. 31, 2019 =DAYS360($D185,$E185)
2. Jan. 01, 2019 Dec. 31, 2019 0 =DAYS360($D186,$E186,FALSE)
3. Jan. 01, 2019 Dec. 31, 2019 1 =DAYS360($D187,$E187,TRUE)
4. Jan. 01, 2019 Jan. 31, 2019 0 =DAYS360($D188,$E188,FALSE)
O. WORKDAY (2007)/WORKDAYS.INTL (2010-onwards) - calculates a date in the future or past excluding weekends and o
holidays. For WORKDAYS.INTL it uses additional parameters to specify weekend days and holidays.
Formula: =WORKDAY(start_date,days,[holidays])
Formula: =WORKDAY.INTL(start_date,days,[weekend],[holidays])
Arguments:
start_date - date to start from counting (excluded in the count)
days - number to days to advance (+) or count backwards (-)
[holidays] - (optional) list of non-working days
[weekend] - (optional) number or string representing which days of the week are considered weekends (See [wee
arguments)
Sample:
start_date days [holiday] Formula
1. Jun 02, 2019 9 Jun 12, 2019 =WORKDAY($D205,$E205,$F205)
2. Jun 02, 2019 9 =WORKDAY($D206,$E206)
3. Jun 02, 2019 9 Jun 12, 2019 =WORKDAY.INTL($D207,$E207,11,$F207)
4. Jun 02, 2019 9 =WORKDAY.INTL($D207,$E207,11)
P. NETWORKDAYS (2007)/NETWORKDAYS.INTL (2010-onwards) - calculate the days between two dates excluding weeke
NETWORKDAYS.INTL it uses additional parameters to specify weekend days and holidays.
Formula: =NETWORKDAYS(start_date,end_date,[holidays])
Formula: =NETWORKDAYS.INTL(start_date,end_date,[weekends],[holidays])
Arguments:
start_date - start date
end_date - end date
[holidays] - (optional) list of non-working days
[weekend] - (optional) number or string representing which days of the week are considered weekends (See [wee
Sample:
start_date end_date [holidays] Formula
1. Jun 01, 2019 Jun 15, 2019 Jun 12, 2019 =NETWORKDAYS($D232,$E232,$F232)
2. Jun 01, 2019 Jun 15, 2019 =NETWORKDAYS($D233,$E233)
3. Jun 02, 2019 Jun 01, 2019 Jun 12, 2019 =NETWORKDAYS.INTL($D234,$E234,11,$F234)
4. Jun 02, 2019 Jun 01, 2019 =NETWORKDAYS.INTL($D235,$E235,11)
Result
Feb. 16, 2019
Nov. 22, 2018
Aug. 05, 2017
ion can be used in 2 ways, 1.) enter the date_text in text format; 2.) syncronize system
Result
8:30:21 AM
12:25:33 PM
5:45:18 AM
must be entered in text format, cell referencing can't be used in this formula)
the week of the year
= 1 or Monday = 2); by default, weeks begin on Sunday (1)
epresents weekdays (1 = Sunday - 7 = Saturday); by default, week begins on Sunday (1) (See
[return_type] arguments
Result Day
1 Sunday
2 Monday
3 Tuesday
4 Wednesday
5 Thursday
6 Friday
7 Saturday
Result
22, 2019
01, 2018
01, 2020
Result
28, 2019
31, 2018
31, 2020
it's value is "FALSE" which means the method that will be used is US, where the start date is
end date is the last day of the month, and the start date < 30, the end date is to the 1st day of
wever, if the value is "TRUE" the method that will be used is European. The starting dates and
h.
Formula Result
185) 360
186,FALSE) 360
187,TRUE) 359
188,FALSE) 30
ween two dates excluding weekends (Saturday and Sunday) and optionally holidays. For
ays.
Formula: =HLOOKUP(lookup_value,table_array,row_index_num,[range_lookup])
Arguments:
lookup_value - value to lookup
table_array - table from which to retrieve data
row_index_num - row number from which to retrieve data
[range_lookup] - (optional) indicator whether the data to be retieve is approximate match (TRUE) or
exact match (FALSE)
Sample:
Cons No. CONS-001 CONS-002 CONS-003 CONS-004 CONS-005
QTY Delivered 1,250 658 2,258 235 351
Pull-out 24 68 95 11 99
Result:
Lookup value CONS-001 Formula:
result#01 (QTY) 1,250 =HLOOKUP($L$3,$E$17:$I$19,2,FALSE)
result#02 (P-OUT) 24 =HLOOKUP($L$3,$E$17:$I$19,3,FALSE)
B. VLOOKUP (Vertical Lookup) - lookup and retrieve data from specific column in table
Formula: =VLOOKUP(lookup_value,table_array,row_index_num,[range_lookup])
Arguments:
lookup_value - value to lookup
table_array - table from which to retrieve data
col_index_num - column number from which to retrieve data
[range_lookup] - (optional) indicator whether the data to be retieve is approximate match (TRUE) or
exact match (FALSE)
Sample:
Cons No. QTY Delivered Pull-out
CONS-001 1,250 24
CONS-002 658 68
CONS-003 2,258 95
CONS-004 235 11
CONS-005 351 99
Result:
Lookup value CONS-002 Formula:
result#01 (QTY) 658 =VLOOKUP($I$33,$D$33:$F$37,2,FALSE)
result#02 (P-OUT) 68 =VLOOKUP($I$33,$D$33:$F$37,3,FALSE)
C. LOOKUP - performs an approximate match lookup in a one-column or one-range.
Formula: =LOOKUP(lookup_value,lookup_vector,[result_vector])
Arguments:
lookup_value - value to lookup
lookup_vector - the one-row, or one-column range to search
[result_vector] - (optional) the one-row, or one-column range of results
Sample:
% of Commission Collection Range
1% 1,000,000.00
2% 2,000,000.00
3% 3,000,000.00
4% 4,000,000.00
5% 5,000,000.00
Result:
Enter amount between 1,000,000.00 and 5,000,000.00
Collection as of today: 1,200,000.00 Formula:
% of Commission: 1% =LOOKUP($E$70,$E$62:$E$66,$D$62:$D$62)
Collection Range: 1,000,000.00 =LOOKUP($E$70,$E$62:$E$66)
D. MATCH - locate the position of a lookupvalue in row, column, or table. This function supports approximate,
exact and partial matches.
Formula: =MATCH(lookup_value,lookup_array,[match_type])
Arguments:
lookup_value - value to lookup
lookup_array - range of cells
[match_type] - (optional) how to match, specified as figures 0=exact match, 1=less than, -1=greater than
Sample:
Agents Collection
Agent#01 10,000.00
Agent#02 5,800.00
Agent#03 1,000.00
Agent#04 2,200.00
A 1,200.00
Result:
As to figures (exact match) Formula:
Lookup value: 10,000.00
Position: 1 =MATCH($E$95,$E$87:$E$91,0)
As to figures (less than)
Lookup value: 1,050.00
Position: 3 =MATCH($E$99,$E$87:$E$91,1)
As to figures (greater than)
Lookup value: 3,000.00
Position: 2 =MATCH($E$103,$E$87:$E$91,-1)
ROW/COLUMN/AREA INFORMATION
E. ROW - gets the number of a reference
Formula: =ROW([reference])
Argument:
[reference] - (optional) reference to a cell or range of cells
Sample:
[reference] Formula Result
1. (blank) =ROW() 117
2. E120 =ROW($E$120) 117
Formula: =ROWS(array)
Argument:
array - range of cells
Sample:
array Formula Result
1. D119:D122 =ROWS($D$119:$D$122) 129
Formula: =COLUMN([reference])
Argument:
[reference] - (optional) reference to a cell or range of cells
Sample:
[reference] Formula Result
1. (blank) =COLUMN() 7
2. E120 =COLUMN($E$120) 7
Formula: =COLUMNS(array)
Argument:
array - range of cells
Sample:
array Formula Result
1. D119:F122 =COLUMNS($D$122:$F$122) 3
Formula: =INDEX(array,row_num,[col_num],[area_num])
Arguments:
array - range of cells
row_num - row position
[col_num] - (optional) column position
[area_num] - (optional) range in reference that should be used
Sample:
1 2 3 4
Result:
Change the value of row and column to see different result:
row: 2
column: 3 Formula:
Value: 200 =INDEX($D$172:$G$175,$E$179,$E$180)
J. OFFSET - retrieve to a range of cells that is specified number of rows and columns from an initial supplied range
Formula: =OFFSET(reference,rows,cols,[height],[width])
Arguments:
reference - the starting point, reference cell or range
rows - number of rows to offset below the starting reference
cols - number of columns to offset to the right of the starting reference
[height] - (optional) the height in rows of the returned reference (Note: Can only be used with other functions)
[width] - (optional) the width in columns of the returned reference (Note: Can only be used with other functions
Sample:
Result:
Change the value of row and column to see different result:
row: 2
column: 3 Formula:
Value: 3,300 =OFFSET($D$195,$E$203,$E$204)
ximate match (TRUE) or
$19,2,FALSE)
$19,3,FALSE)
F$37,2,FALSE)
F$37,3,FALSE)
70,$E$62:$E$66,$D$62:$D$62)
70,$E$62:$E$66)
on supports approximate,
COUNT FUNCTIONS
A. COUNT - count the number of cell that contains numbers only characters
Arguments:
value1 - cell reference or range
[value2] - (optional) cell reference or range
Sample:
value Formula:
1. - 5 =COUNT($D$16:$D$23)
2. 12
3. 654
4. 231
5. Pluma
6.
7. 20%
8. 6/21/2019
Arguments:
value1 - cell reference or range
[value2] - (optional) cell reference or range
Sample:
value Formula:
1. - 7 =COUNTA($D$16:$D$23)
2. 12
3. 654
4. 231
5. Pluma
6.
7. 20%
8. 6/21/2019
Formula: =COUNTBLANK(range)
Arguments:
range - cell reference or range
Sample:
value Formula:
1. - 1 =COUNTBLANK($D$16:$D$23)
2. 12
3. 654
4. 231
5. Pluma
6.
7. 20%
8. 6/21/2019
Formula: =COUNTIF(range,criteria)
Arguments:
range - range of cells to count
criteria - criteria that controls which cells should be counted
Sample:
range
1. Sales Result:
2. Collection criteria: Sales Formula:
3. Sales Count: 4 =COUNTIF($D$72:$D$77,$G$73)
4. Collection
5. Sales
6. Sales
Formula: =COUNTIF(range1,criteria1,[range2],[criteria2],...)
Arguments:
range - range of cells to count
criteria - criteria that controls which cells should be counted
[range2] - (optional) second range to evaluate
[criteria2] - (optional) criteria to use on [range2]
Sample:
range [range2]
1. Sales Luzon Result:
2. Collection Visayas criteria1: Sales
3. Sales Luzon criteria2: Luzon Formula:
4. Collection Mindanao Count: 3 =COUNTIFS($D$72:$D$77,$G$73,$E
5. Sales Mindanao
6. Sales Luzon
RANK FUNCTIONS
F. RANK (2007) - rank values from largest to smallest or vice versa
Formula: =RANK(number,array,[order])
Arguments:
number - number to rank
array - numbers to rank against
[order] - (optional) rank in ascending pr descending order (0=descending, 1=ascending)
Sample:
Agents array
1. Agent#01 5,800.00
2. Agent#02 800.00
3. Agent#03 1,000.00
4. Agent#04 2,200.00
5. Agent#05 1,200.00
F. RANK.EQ (2010) - rank values from largest to smallest or vice versa, when array contains duplicate this function will se
each set
Formula: =RANK.EQ(number,ref,[order])
Arguments:
number - number to rank
ref - numbers to rank against
[order] - (optional) rank in ascending pr descending order (0=descending, 1=ascending)
Sample:
Agents array
1. Agent#01 5,800.00
2. Agent#02 800.00
3. Agent#03 1,200.00
4. Agent#04 2,200.00
5. Agent#05 1,200.00
G. RANK.AVG (2010) - rank values from largest to smallest or vice versa, when array contains duplicate this function will
rank to each set
Formula: =RANK.EQ(number,ref,[order])
Arguments:
number - number to rank
ref - numbers to rank against
[order] - (optional) rank in ascending pr descending order (0=descending, 1=ascending)
Sample:
Agents array
1. Agent#01 5,800.00
2. Agent#02 800.00
3. Agent#03 1,200.00
4. Agent#04 2,200.00
5. Agent#05 1,200.00
H. PERCENTRANK (2007) - find the relative standing of a value within a data set
Formula: =PERCENTRANK(array,x,[significance])
Arguments:
array - range of data value
x - value to rank
[significance] - (optional) number of significant digit, default is three (3)
Sample: Result:
Agents array rank Formula:
1. Agent#01 5,800.00 100% =PERCENTRANK($E$172:$E$176,$E172,2)
2. Agent#02 800.00 0% =PERCENTRANK($E$172:$E$176,$E173,2)
3. Agent#03 3,680.00 75% =PERCENTRANK($E$172:$E$176,$E174,2)
4. Agent#04 2,200.00 50% =PERCENTRANK($E$172:$E$176,$E175,2)
5. Agent#05 1,200.00 25% =PERCENTRANK($E$172:$E$176,$E176,2)
I. PERCENTRANK.INC (2010) - find the percentage rank inclusive of the first and last values in the array
Formula: =PERCENTRANK.INC(array,x,[significance])
Arguments:
array - range of data value
x - value to rank
[significance] - (optional) number of significant digit, default is three (3)
Sample: Result:
Agents array rank Formula:
1. Agent#01 5,800.00 100% =PERCENTRANK($E$172:$E$176,$E172,2)
2. Agent#02 800.00 0% =PERCENTRANK($E$172:$E$176,$E173,2)
3. Agent#03 3,680.00 75% =PERCENTRANK($E$172:$E$176,$E174,2)
4. Agent#04 2,200.00 50% =PERCENTRANK($E$172:$E$176,$E175,2)
5. Agent#05 1,200.00 25% =PERCENTRANK($E$172:$E$176,$E176,2)
J. PERCENTRANK.EXC (2010) - find the percentage rank inclusive of the first and last values in the array
Formula: =PERCENTRANK.INC(array,x,[significance])
Arguments:
array - range of data value
x - value to rank
[significance] - (optional) number of significant digit, default is three (3)
Sample: Result:
Agents array rank Formula:
1. Agent#01 5,800.00 100% =PERCENTRANK($E$172:$E$176,$E172,2)
2. Agent#02 800.00 0% =PERCENTRANK($E$172:$E$176,$E173,2)
3. Agent#03 3,680.00 75% =PERCENTRANK($E$172:$E$176,$E174,2)
4. Agent#04 2,200.00 50% =PERCENTRANK($E$172:$E$176,$E175,2)
5. Agent#05 1,200.00 25% =PERCENTRANK($E$172:$E$176,$E176,2)
Formula: =MAX(number1,[number2],…)
Arguments:
number1 - number, reference to numeric value, or range that contains numeric values
[number2] - (optional) number, reference to numeric value, or range that contains numeric values
Sample:
number1 Result: Formula:
1. 58 Highest Value: 4,423 =MAX($D$224:$D$228)
2. 1,235
3. day 5000
4. 0.25
5. 4,423
L. MAXA - retrieve the largest number in a given range, ignores empty cells, and evaluates the logical values TRUE and F
respectively
Formula: =MAX(value1,[value2],…)
Arguments:
value1 - number, reference to numeric value, or range that contains numeric values
[value2] - (optional) number, reference to numeric value, or range that contains numeric values
Sample:
Result Formula:
1. 58 0 58 =MAXA($D$241;$F$241)
2. 1,235 1,235 1,235 1,235 =MAXA($D$242;$F$242)
3. 0 -25 0 =MAXA($D$243;$F$243)
4. 1.00 0.25 1 =MAXA($D$244;$F$244)
5. 4,423 2,385 4,423 =MAXA($D$245;$F$245)
M. MIN - retrieve the lowest number in a given range, ignores empty cells, logical values TRUE and FALSE, and text value
Formula: =MIN(number1,[number2],…)
Arguments:
number1 - number, reference to numeric value, or range that contains numeric values
[number2] - (optional) number, reference to numeric value, or range that contains numeric values
Sample:
number1 Result: Formula:
1. 58 Lowest Value: 0.25 =MIN($D$224:$D$228)
2. 1,235
3. day 5000
4. 0.25
5. 4,423
N. MINA - retrieve the lowest number in a given range, ignores empty cells, and evaluates the logical values TRUE and FA
respectively
Formula: =MINA(value1,[value2],…)
Arguments:
value1 - number, reference to numeric value, or range that contains numeric values
[value2] - (optional) number, reference to numeric value, or range that contains numeric values
Sample:
Result Formula:
1. 58 0 -25 -25 =MINA($D$241;$F$241)
2. 1,235 935 5,800 935 =MINA($D$242;$F$242)
3. 0 0 0 =MINA($D$243;$F$243)
4. 58 1.00 1,235 1 =MINA($D$244;$F$244)
5. 4,423 11 11 =MINA($D$245;$F$245)
AVERAGES
O. AVERAGE - get the average of a group of numbers, ignores logical values, and numbers represented as text
Formula: =AVERAGE(number1,[number2],…)
Arguments:
number1 - number or cell reference that refers to numeric values
[number2] - (optional) number or cell reference that refers to numeric values
Sample:
number1
1. 58 Formula:
2. 1,235 AVERAGE: 1,166 =AVERAGE($D$292:$D$296)
3. 55
4. 58
5. 4,423
P. AVERAGEA - get the average of a group of numbers, evaluates logical values, and numbers represented as text
Formula: =AVERAGEA(number1,[number2],…)
Arguments:
number1 - number or cell reference that refers to numeric values
[number2] - (optional) number or cell reference that refers to numeric values
Sample:
number1
1. 58 Formula:
2. 1 AVERAGEA: 919 =AVERAGEA($D$308:$D$312)
3. 55 AVERAGE: 1,149 =AVERAGE($D$308:$D$312)
4. 58
5. 4,423
P. AVERAGEIF - get the average of the numbers in a range that meets the criteria
Formula: =AVERAGEIF(range,criteria,[average_range])
Arguments:
range - one or more cells, including numbers, arrays, or references
criteria - number, expression, cell reference, or text
[average_range] - cells to average, when omitted, range is used
Sample:
number1 range Result:
1. Agent#01 58 Average of Agent#01: 257 =AVERAGEIF($D$325:$D$329,"Agen
2. Agent#02 885 Average of Agent#02: 2,654 =AVERAGEIF($D$325:$D$329,"Agen
3. Agent#01 656
4. Agent#01 58
5. Agent#02 4,423
Q. AVERAGEIFS - get the average of the numbers in a range that meets the criteria
Formula: =AVERAGEIFS(average_range,range1,criteria1,[range2],[criteria2],...)
Arguments:
average_range - range to average
range1 -first range to evaluate
criteria1 - criteria to use on range1
[range2] - (optional) second range to evaluate
[criteria2] - (optional) criteria to use on [range2]
Sample:
criteria1 range1 criteria2 Result:
1. Agent#01 58 Sales Average Sales of Agent#01: 58
2. Agent#02 885 Sales Average Collection of Agent#01: 656
3. Agent#01 656 Collection
4. Agent#01 58 Sales Average Sales of Agent#02: 885
5. Agent#02 4,423 Collection Average Collection of Agent#02: 4,423
Formula: =MEDIAN(number1,[number2],…)
Arguments:
number1 - number or cell reference that refers to numeric values
[number2] - (optional) number or cell reference that refers to numeric values
Sample:
number1
1. 10 Result:
2. 20 Middle Number: 30
3. 30
4. 40
5. 50
2:$D$77,$G$73)
COUNTIFS($D$72:$D$77,$G$73,$E$91:$E$96,$H$93)
RANK($E111,$E$111:$E$115,1)
RANK($E112,$E$111:$E$115,1)
RANK($E113,$E$111:$E$115,1)
RANK($E114,$E$111:$E$115,1)
RANK($E115,$E$111:$E$115,1)
K($E$172:$E$176,$E172,2)
K($E$172:$E$176,$E173,2)
K($E$172:$E$176,$E174,2)
K($E$172:$E$176,$E175,2)
K($E$172:$E$176,$E176,2)
s numeric values
umeric values
s numeric values
the logical values TRUE and FALSE as 1 and 0
umeric values
represented as text
$292:$D$296)
AVERAGEIF($D$325:$D$329,"Agent#01",$E$325:$E$329)
AVERAGEIF($D$325:$D$329,"Agent#02",$E$325:$E$329)
Formula:
=AVERAGEIFS($E$344:$E$348,$D$344:$D$348,"Agent#01",$F$344:$F$348,"Sales")
=AVERAGEIFS($E$344:$E$348,$D$344:$D$348,"Agent#01",$F$344:$F$348,"Collection")
=AVERAGEIFS($E$344:$E$348,$D$344:$D$348,"Agent#02",$F$344:$F$348,"Sales")
=AVERAGEIFS($E$344:$E$348,$D$344:$D$348,"Agent#02",$F$344:$F$348,"Collection")