Example Workbook by Scott Ratliff

You might also like

Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 77

Lean Excel: Top 100+ Functions

By Scott Ratliff
www.LeanExcelBooks.com

All (Alphabetical) Date & Time Financial Logical Lookup


ABS DATE FV AND ADDRESS
ADDRESS DAY PMT 0 CHOOSE
AND DAYS PV IF COLUMN
AVERAGE EDATE RATE IFERROR COLUMNS
AVERAGEIF EOMONTH IFNA FORMULATEXT
AVERAGEIFS HOUR ISBLANK HLOOKUP
CHOOSE MINUTE ISERR HYPERLINK
CLEAN MONTH ISERROR INDEX (array)
COLUMN NETWORKDAYS ISNUMBER INDEX (reference)
COLUMNS NOW NOT INDIRECT
CONCATENATE SECOND OR MATCH
CONVERT TIME 1 OFFSET
CORREL TODAY ROW
COUNT WEEKDAY ROWS
COUNTA WEEKNUM VLOOKUP
COUNTBLANK WORKDAY
COUNTIF YEAR
COUNTIFS
DATE
DAY
DAYS
DELTA
EDATE
EOMONTH
EXACT
EXP
F.TEST
FACT
0
FIND
FORECAST
FORMULATEXT
FV
HLOOKUP
HOUR
HYPERLINK
IF
IFERROR
IFNA
INDEX (array)
INDEX (reference)
INDIRECT
INT
INTERCEPT
ISBLANK
ISERR
ISERROR
ISNUMBER
LARGE
LEFT
LN
LOG
LOG10
LOWER
MATCH
MAX
MEDIAN
MID
MIN
MINUTE
MOD
MODE.MULT
MODE.SNGL
MONTH
MROUND
NA
NETWORKDAYS
NOT
NOW
OFFSET
OR
PEARSON
PERCENTILE.EXC
PERCENTILE.INC
PERCENTRANK.EXC
PERCENTRANK.INC
PI
PMT
POWER
PRODUCT
PROPER
PV
QUARTILE.EXC
QUARTILE.INC
RAND
RANDBETWEEN
RANK.AVG
RANK.EQ
RATE
REPLACE
REPT
RIGHT
ROUND
ROUNDDOWN
ROUNDUP
ROW
ROWS
RSQ
SEARCH
SECOND
SIGN
SLOPE
SMALL
SQRT
SUBTOTAL
SUM
SUMIF
SUMIFS
SUMPRODUCT
SUMSQ
T.TEST
TEXT
TIME
TODAY
TRIM
TRIMMEAN
1
TRUNC
UPPER
VLOOKUP
WEEKDAY
WEEKNUM
WORKDAY
YEAR
Z.TEST
Math Statistical Text Other
ABS AVERAGE CLEAN NA
CONVERT AVERAGEIF CONCATENATE
DELTA AVERAGEIFS EXACT
EXP CORREL FIND
FACT COUNT LEFT
INT COUNTA LOWER
LN COUNTBLANK MID
LOG COUNTIF PROPER
LOG10 COUNTIFS REPLACE
MOD F.TEST REPT
MROUND FORECAST RIGHT
PI INTERCEPT SEARCH
POWER LARGE TEXT
PRODUCT MAX TRIM
RAND MEDIAN UPPER
RANDBETWEEN MIN
ROUND MODE.MULT
ROUNDDOWN MODE.SNGL
ROUNDUP PEARSON
SIGN PERCENTILE.EXC
SQRT PERCENTILE.INC
SUBTOTAL PERCENTRANK.EXC
SUM PERCENTRANK.INC
SUMIF QUARTILE.EXC
SUMIFS QUARTILE.INC
SUMPRODUCT RANK.AVG
SUMSQ RANK.EQ
TRUNC RSQ
SLOPE
SMALL
T.TEST
TRIMMEAN
Z.TEST
Lean Excel: Top Functions
By Scott Ratliff Go Home
www.LeanExcelBooks.com

Function: =ABS(number)
Description: Returns the absolute value of number.

number function result


100 100
0 0
-20 20
-30 30

Function: =ADDRESS(row_num,column_num,[abs_num],[a1],[sheet_text])
Returns a cell reference as text from column_num and row_num. Use abs_num to identify absolute or rela

row_num column_num abs_num a1


3 5 4 1
6 2 3 0
4 1 2 1
9 2 1 0

Function: =AND(logical1,logical2,...)
Returns TRUE if all logical arguments are TRUE.

logical1 logical2 logical3 logical4


1 0 1 1
1 1 1 1
1 0 1 0
1 1 0 1

Function: =AVERAGE(number1,[number2],...)
Returns the arithmetic mean of the number arguments.

number1 [number2] [number3] function result


1 95 48
5 15 10
8 20 -2 8.666666666667
26 13 9 16
Function: =AVERAGEIF(range,criteria,[average_range])
Returns the arithmetic mean of the average_range if the corresponding value in range meets the criteria.

range criteria [average_range] function result


H50:H53 >5 13.33333333333
H50:H53 <=2 #DIV/0!
H50:H53 6 I50:I53 11
H50:H53 >=0 I50:I53 60

Function: =AVERAGEIFS(average_range,criteria_range1,criteria1,[criteria_range2,criteria2],...)
Returns the arithmetic mean of the average_range if all of the corresponding values in criteria_range meet

average_range criteria_range1 criteria1 criteria_range2


K60:K63 J60:J63 >5
J60:J63 K60:K63 <=50 J60:J63
J60:J63 K60:K63 <=0
K60:K63 J60:J63 >=10 K60:K63

Function: =CHOOSE(index_num,value1,[value2],…)
Returns a value (value1, value2, …) based on a choice for index_num. Like an if statement with more option

index_num value1 value2 value3


1A B C
0 50 40 30
2 Good Bad Ugly
3 Excel Word PowerPoint

Function: =CLEAN(text)
Returns text with all non-printable characters removed.

text function result


123456 123456
ABCDEF ABCDEF

Function: =COLUMN([reference])
Returns a number of the column of the reference. If reference is left blank then returns the column of the c

reference function result


A4 1
D5 4
4
C2:D8 3

Function: =COLUMNS(array)
Returns the number of columns in the range array.

array function result


A4 1
B2:F26 5
#REF!
B2:B26 1

Function: =CONCATENATE(text1, [text2], …)


Returns the combination of multiple text strings.

text1 [text2] [text3] function result


ABC 123 DEF ABC123DEF
Lean Excel Books.com LeanExcelBooks.com
Steven Jobs Steven Jobs
William Gates WilliamGates

Function: =CONVERT(number,from_unit,to_unit)
Returns the result of converting number in from_unit to the equivalent value in to_unit.

number from_unit to_unit function result


1253 mm in 49.33070866142
500 g lbm 1.102311310924
-0.369 psi Pa -2544.165441179
1.58 day hr 37.92
1.36 f s Err:502

Function: =CORREL(array1,array2)
Returns the correlation coefficient between the two data sets array1 and array2.

array1 array2 function result


G129:G133 H129:H133 #VALUE!
G129:G133 I129:I133 #VALUE!
H129:H133 H129:H134 Err:502
I129:I133 J129:J133 -0.9509537466681
Function: =COUNT(value1,[value2],...)
Returns the number of cells in a range (value1, value2, …) with numbers.

value1 value2 value3 function result


1A B 1
1 2 3 3
DEF #N/A JKL 0
321 456 #DIV/0! 2

Function: =COUNTA(value1,[value2],...)
Returns the number of cells in a range (value1, value2, …) that are not empty.

value1 value2 value3 function result


1A B 3
1 2 2
DEF #N/A JKL 3
456 #DIV/0! 2

Function: =COUNTBLANK(range)
Returns the number of cells in range that are empty.

range function result


F160:G160 1 3
F160:G161 2
F160:G162 3 Dog
F160:G163 5

Function: =COUNTIF(range,criteria)
Returns the number of cells in a range that meet the specified criteria.

range criteria function result


F160:G160 >1 1
F160:G161 >100 0
F160:G162 <=5 2
F160:G163 DEF 0

Function: =COUNTIFS(critera_range1,criteria1,[criteria_range2,criteria2],…)
Returns the number of cells that meet all of the specified criteria in their respective criteria_ranges.

criteria_range1 criteria1 criteria_range2 criteria2


I177:I182 Jan J177:J182 A
I177:I182 Feb J177:J182 <>C
I177:I182 Mar J177:J182 C
I177:I182 Jan J177:J182 D

Function: =DATE(year, month, day)


Returns the serial number of the date of the specified year, month, and day.

year month day function result


2014 7 4 7/4/2014
2015 1 30 1/30/2015
1941 12 7 12/7/1941
1976 7 13 7/13/1976

Function: =DAY(serial_number)
Returns the day of the month (1-31) of the serial_number.

serial number function result


1/25/2015 25
7/4/2014 4
12/7/1941 7
7/13/1976 13

Function: =DAYS(end_date,start_date)
Returns the number of days between end_date and start_date.

end_date start_date function result


7/4/2014 2/16/2014 138
12/25/2014 1/1/2015 -7
3/31/2015 9/29/2013 548
7/13/1976 9/4/1945 11270

Function: =DELTA(number1, [number2])


Returns TRUE (1) or FALSE (0) if number1 is equal to number2.

number1 [number2] function result


1 1 1
2 2.0 1
1.1 -1 0
0.1 -8 0
Function: =EDATE(start_date, months)
Returns the serial number of the date that is the specified number of months before or after the start_date

start_date months function result


7/4/2014 0 7/4/2014
12/25/2014 4 4/25/2015
3/3/2015 -2 1/3/2015
2/9/2015 120 2/9/2025

Function: =EOMONTH(start_date,months)
Returns the serial number of the last day of the month that is the specified number of months before or aft

start_date months function result


7/4/2014 0 7/31/2014
12/25/2014 4 4/30/2015
3/3/2015 -2 1/31/2015
2/9/2015 120 2/28/2025

Function: =EXACT(text1, text2)


Returns TRUE if two text strings are exactly the same (including upper/lower case).

text1 text2 function result


ABC DEF 0
ABC abc 0
ABC ABC 1
321 321 1
ABC13 ABC123 0

Function: =EXP(number)
Returns the value of e (Euler's number) raised to the power number.

number function result


1 2.718281828459
0 1
-1 0.367879441171
5 148.4131591026

Function: =F.TEST(array1, array2)


Returns the result of the F-Test which measures the probability that the variances of two arrays are not sign

array1 array2 function result


1 5 1
2 4
3 3
4 2
5 1

Function: =FACT(number)
Returns the value of number's factorial.

number function result


1 1
0 1
5 120
10 3628800

Function: =FALSE()
Returns the value FALSE.

formula function result


=FALSE() 0
=NOT(FALSE()) 1
=OR(FALSE(),FALSE(),TRUE()) 1
=AND(FALSE(),FALSE(),FALSE()) 0

Function: =FIND(find_text, within_text, [start_num])


Finds one string (find_text) within another string (within_text). Can specify where to start looking with star

find_text within_text [start_num] function result


A ABCDEF 1
A ABCDEF 2 #VALUE!
1 4321567 4
A TUVWXYZ #VALUE!
Mom Dad, Mom, Sister, Brother 6

Function: =FORECAST(x, known_y's, known_x's)


Returns a future value at point x along a linear trend using existing data (known_y's and known_x's).

known_y's known_x's x
9 0 1
5 2
3 3 function result
1 4 7
Function: =FORMULATEXT(reference)
Returns the formula that is stored in reference as a text string.

reference function result


D280 =FACT(C280)
H330 =FV(C330,D330,E330,F330,G330)
H60 =AVERAGEIFS(INDIRECT(C60,1),INDIRECT(D60,1),E60)
C317 #N/A
G324 #N/A

Function: =FV(rate,nper,pmt,[pv],[type])
Returns the future value of an investment of pv at interest rate rate based on the number nper of constant

rate nper pmt pv


5.00% 30 ($2,000.00)
5.00% 30 ($2,000.00) ($10,000.00)
0.52% 180 ($1,000.00) $180,000.00
0.52% 180 ($1,000.00) $180,000.00

Function: =HLOOKUP(lookup_value,table_array,row_index,[range_lookup])
Finds lookup_value in the top row of the range table_array and then returns the value from the same colum

lookup_value table_array row_index range_lookup


Part Number I339:L345 3 0
Discount I339:L345 4 0
Description I339:L345 4 1
Sale Price I339:L345 3 1

Function: =HOUR(serial_number)
Returns the hour (0-23) of the serial_number.

serial number function result


12/31/14 23:59 23
1/25/15 15:39 15
7/4/13 9:30 9
8/30/2021 6:57 6

Function: =HYPERLINK(link_location,[friendly_name])
Returns the text of friendly_name as a hyperlink to link_location. If friendly_name is left blank, then the tex

link_location friendly_name function result


http://www.LeanExcelBooks.com My Website My Website
http://www.google.com Search Here Search Here
http://www.amazon.com Buy Stuff Buy Stuff
http://www.apple.com Favorite Toys Favorite Toys

Function: =IF(logical_test,value_if_true,value_if_false)
If logical_test returns TRUE then return the value_if_true, otherwise return the value_if_false.

logical_test value_if_true value_if_false function result


1 2 3 2
0A B B
1 Not False Not True Not False
0 This is TRUE This is FALSE This is FALSE

Function: =IFERROR(value,value_if_error)
If value is an error (#N/A, #DIV/0, etc.) then return the value_if_error, otherwise returns value.

value value_if_error function result


#N/A "this is an error" "this is an error"
#DIV/0! "this is an error" "this is an error"
4 "this is an error" 4
1200 "error" 1200

Function: =IFNA(value)
If value is #N/A then returns the value_if_na, otherwise returns value.

value value_if_na function result


#N/A pepperoni pepperoni
#DIV/0! pizza #DIV/0!
4 5 4
#N/A 100 100

Function: =INDEX(array,row_num,[column_num])
Returns the cell reference at the intersection of row_num and column_num within array. Enter as an array

array row_num [column_num] function result


H399:J402 1 1 Month
H399:J402 2 1 May
H399:J402 1 2 Games
H399:J400 3 1 Err:502
Function: =INDEX(reference,row_num,[column_num],[area_num])
Returns the cell reference at the intersection of row_num and column_num within reference. If reference

array row_num [column_num] [area_num]


H399 1 1 1
H399:J402 2 1 1
H399:J402 3 2 1
(D400:F400,E400:E402) 3 1 2

Function: =INDIRECT(ref_text,[a1])
Returns the reference specified by the text string ref_text. If a1 is TRUE or omitted, then r

ref_text a1 function result


H417 1 Hammer
I419:I421 1 23.97
R422C10 0 3.99
R422C10:R424C10 0 18.37

Function: =INT(number)
Returns number rounded down the nearest integer.

number function result


1 1
0 0
1.2 1
-1.3 -2

Function: =INTERCEPT(known_y's,known_x's)
Returns the point at which a line will intersect the y-axis using linear regression of known_y's and known_x'

known_y's known_x's function result


9 0 9
5 2
3 3
1 4

Function: =ISBLANK(value)
If value is blank then returns TRUE, if not then returns FALSE.

value function result


#N/A 0
#DIV/0! 0
1
1200 0
ABCD 0

Function: =ISERR(value)
If value is an error other than #N/A then returns TRUE, if not then returns FALSE.

value function result


#N/A 0
#DIV/0! 1
4 0
1200 0

Function: =ISERROR(value)
If value is an error (#N/A, #DIV/0, etc.) then returns TRUE, if value is not an error then returns FALSE.

value function result


#N/A 1
#DIV/0! 1
4 0
1200 0

Function: =ISNUMBER(value)
If value is a number then returns TRUE, if not then returns FALSE.

value function result


#N/A 0
#DIV/0! 0
4 1
0
ABCD 0

Function: =LARGE(array,k)
Returns the k-th largest value in the range array.

array
374 453 930
524 627 697
361 269 996
130 243 319
Function: =LEFT(text,[num_chars])
Returns the leftmost num_chars of the text string.

text [num_chars] function result


Mother M
1234567890 5 12345
Function 3 Fun
Lean Excel Books 4 Lean

Function: =LN(number)
Returns the natural logarithm of number.

number function result


1 0
-1 Err:502
2.71828182845904 1
10 2.302585092994

Function: =LOG(number,[base])
Returns the logarithm with base base of number.

number [base] function result


1 0
10 1
1 2.718281828459 0
10 2 3.32192809488736

Function: =LOG10(number)
Returns the common logarithm (base 10) of number.

number function result


1 0
10 1
100 2
999 2.999565488226

Function: =LOWER(text)
Returns text with all letters in lower case.

text function result


Lean Excel Books lean excel books
Bill Gates bill gates
william gates william gates
12345 12345

Function: =MATCH(lookup_value,lookup_array,[match_type])
Looks for lookup_value within a lookup_array of cells and returns the position of that item in the range. If m

lookup_value lookup_array match_type function result


1002 H546:H554 0 3
1002 H546:H554 1 3
Wrench I546:I554 0 4
Hammer H546:H554 0 #N/A

Function: =MAX(number1,[number2], …)
Returns the largest value in a range (number1, number2, …).

number1 [number2] [number3] [number4]


462 -912 442
986 0 792 338
186 512 246 454
596 748 616 199

Function: =MEDIAN(number1, [number2, …)


Returns the median of the values in a range (number1, number2, …).

number1 [number2] [number3] [number4]


462 -912 442
986 0 792 338
186 512 246 454
596 748

Function: =MID(text, start_num, num_chars)


Returns the num_chars of the text string starting at start_num.

text start_num num_chars function result


Lean Excel Books 6 5 Excel
Bill Gates 6 2 Ga
william gates 4 4 liam
12345 3 13
Function: =MIN(number1, [number2], …)
Returns the smallest value in a range (number1, number2, …).

number1 [number2] [number3] [number4]


462 -912 442
986 0 792 338
186 512 246 454
596 748 616 199

Function: =MINUTE(serial_number)
Returns the minute (0-59) of the serial_number.

serial number function result


12/31/14 23:59 59
1/25/15 15:39 39
7/4/13 9:30 30
8/30/2021 6:57 57

Function: =MOD(number,divisor)
Returns the remainder of number divided by divisor.

number divisor function result


5 1 0
5 2 1
100 333 100
999 8 7

Function: =MODE.MULT(number1, [number2], …)


Returns a vertical array of the most commonly occurring values in the number1, number2, … Highlight the n

number1 [number2] [number3] [number4]


1 1 2 3
1 1 2 2
0 1 2 3
7 7 7 3

Function: =MODE.SNGL(number1, [number2], …)


Returns the most common value in the number1, number2, … array.

number1 [number2] [number3] [number4]


1 1 2 3
2 2 1 1
0 1 2 3
7 7 7 3

Function: =MONTH(serial_number)
Returns the month (1-12) of the serial_number.

serial number function result


1/25/2015 1
7/4/2014 7
12/7/1941 12
8/30/2021 8

Function: =MROUND(number,multiple)
Returns number rounded to the nearest multiple.

number multiple function result


18 5 20
20 5 20
-0.36 0.1 -0.4
-0.36 -0.1 -0.4

Function: =NA()
Returns the error value #N/A.

Function Result
=NA() #N/A
=IF(ISERROR(na()),NA(),"No error") #N/A
=IF(ISERR(na()),NA(),"No error") No error
=NA()+1 #N/A

Function: =NETWORKDAYS(start_date, end_date, [holidays])


Returns the number of full work days between start_date and end_date. Specify the dates of any holidays

start_date end_date holidays function result


12/20/2014 12/31/2014 12/24/2014 7
12/20/2014 12/26/2014 12/25/2014 3
7/1/2015 7/5/2014 7/4/2014 -257
1/1/2015 1/1/2016 262
Function: =NOT(logical)
If logical would return TRUE then return FALSE or if FALSE then return TRUE.

function result
=NOT(TRUE()) 0
=NOT(FALSE()) 1
=NOT(NOT(TRUE())) 1
=NOT(NOT(NOT(TRUE()))) 0

Function: =NOW()
Returns the computer's date and time.

function result
=NOW() 8/30/2021 6:57
=NOW()+1 8/31/2021 6:57
=NOW()-7 8/23/2021 6:57
=NOW()-DATE(2015,2, 15) 2388.28972329236

Function: =OFFSET(reference,rows,cols,[height],[width])
Returns the reference to the range that is rows rows and cols columns away from reference. Use height an

reference rows cols height


J696 2 3 1
J696:M696 1 0 1
L700 2 -2 1
M697 0 -1 5

Function: =OR(logical1, [logical2], …)


Returns TRUE if at least one logical argument is TRUE.

logical1 logical2 logical3 logical4


1 0 1 0
1 1 1 1
0 0 0 0
1 1 0 0

Function: =PEARSON(array1, array2)


Returns the Pearson Product Moment Coefficient of known_y's and known_x's. The Pearson Product Mom

known_y's known_x's function result


9 0 -1
5 2
3 3
1 4

Function: =PERCENTILE.EXC(array, k)
Returns the value located at the kth percentile of an array. PERCENTILE.INC is slightly less accurate than PE

array
374 453 930
524 627 697
361 269 996
130 243 319

Function: =PERCENTILE.INC(array, k)
Returns the value located at the kth percentile of an array. PERCENTILE.EXC is slightly more accurate than P

array
374 453 930
524 627 697
361 269 996
130 243 319

Function: =PERCENTRANK.EXC(array, x, [significance])


Returns the percentage rank of a value x in an array. Exclusive of the data set.

array
374 453 930
524 627 697
361 269 996
130 243 319

Function: =PERCENTRANK.INC(array, x, [significance])


Returns the percentage rank of a value x in an array. Inclusive of the data set.

array
374 453 930
524 627 697
361 269 996
130 243 319
Function: =PI()
Returns the value of Pi.

formula result
PI 3.14159265359
PI/2 1.570796326795
2*PI 6.28318530718
PI()^2 9.869604401089

Function: =PMT(rate, nper, pv, [fv], [type])


Returns the payment per period of a loan/investment of size pv with nper payments with an interest rate ra

rate nper pv fv
30 ($2,000.00)
12 $ 30.00 ($2,000.00)
0 $ 180.00 ($1,000.00) $0.00
0 $ 180.00 ($1,000.00) $0.00

Function: =POWER(number,power)
Returns number raised to the exponent power.

number power function result


1 5 1
3 5 243
2 8 256
25 -1 0.04

Function: =PRODUCT(number1,[number2],...)
Returns the value of all number arguments multiplied together.

number1 number2 number3 function result


25 25
3 2 6
2 0 5 0
25 4 5 500

Function: =PROPER(text)
Returns text with the first letter in each word in upper case and the rest to lower case.

text function result


lean excel books Lean Excel Books
microsoft excel Microsoft Excel
MS excel Ms Excel
last_name, first_name Last_Name, First_Name

Function: =PV(rate, nper, pmt, [fv], [type])


Returns the present value of an investment with target future value fv at interest rate rate based on the nu

rate nper pmt fv


5.00% 30 ($2,000.00)
5.00% 30 ($2,000.00)
0.52% 180 ($1,000.00) $0.00
0.52% 180 ($1,000.00) $0.00

Function: =QUARTILE.EXC(array, quart)


Returns the exclusive quart (0-4) quartile of the range array.

array
374 453 930
524 627 697
361 269 996
130 243 319

Function: =QUARTILE.INC(array, quart)


Returns the inclusive quart (0-4) quartile of the range array.

array
374 453 930
524 627 697
361 269 996
130 243 319

Function: =RAND()
Returns a random number between 0 and 1.

formula result
RAND 0.349962142352
RAND/2 0.431625886872
2*RAND 1.07751092021
RAND^2 0.192770867296
Function: =RANDBETWEEN(bottom,top)
Returns a random number between bottom and top.

bottom top function result


1 10 10
-5 25 23
-100 250 235
0 1 0

Function: =RANK.AVG(number, ref, [order])


Returns the rank of a number in range ref sorted ascending or descending based on order. If multiple ranks

ref
524 453 930
524 627 697
361 269 996
130 243 319

Function: =RANK.EQ(number, ref, [order])


Returns the rank of a number in range ref sorted ascending or descending based on order. If multiple ranks

ref
524 453 930
524 627 697
361 269 996
130 243 319

Function: =RATE(nper, pmt, pv, [fv], [type], [guess])


Returns the interest rate per period of a loan/investment of size pv with nper payments of constant value p

nper pmt pv fv
30 $ 15.00 ($2,000.00)
12 $ 30.00 ($2,000.00)
0 $ 180.00 ($1,000.00) $0.00
90 $ 180.00 ($1,000.00) ($1,500.00)

Function: =REPLACE(old_text, start_num, num_chars, new_text)


Replaces num_chars characters starting at start_num of old_text with new_text.

old_text start_num num_chars new_text


A 1 1B
ABC 1 2B
MS Word 4 4 Excel
Lean Excel 11 1 Books

Function: =REPT(text,number_times)
Repeats text a given number of times.

text number_times function result


A 4 AAAA
ABC 2 ABCABC
A+ 5 A+A+A+A+A+
123 9 123123123123123123123123123

Function: =RIGHT(text, num_chars)


Returns the rightmost num_chars of the text string.

text num_chars function result


MS Excel 5 Excel
Lean Excel Books 11 Excel Books
Amazon 3 zon
Apple 2 le

Function: =ROUND(number,num_digits)
Returns number rounded to the decimal place specified by num_digits. If num_digits is positive, then place

number num_digits function result


504 -1 500
-5.36 0 -5
3.7548 1 3.8
1.546841 4 1.5468

Function: =ROUNDDOWN(number,num_digits)
Returns number rounded down to the decimal place specified by num_digits. If num_digits is positive, then

number num_digits function result


504 -1 500
-5.36 0 -5
3.7548 1 3.7
1.546841 4 1.5468
Function: =ROUNDUP(number,num_digits)
Returns number rounded up to the decimal place specified by num_digits. If num_digits is positive, then pl

number num_digits function result


504 -1 510
-5.36 0 -6
3.7548 1 3.8
1.546841 4 1.5469

Function: =ROW([reference])
Returns a number of the row of the reference. If reference is left blank then returns the row of the formula

reference function result


A4 4
D5 5
962
B32:D54 32

Function: =ROWS(array)
Returns the number of rows in the range array.

array function result


A4 1
D5 1
#REF!
B32:D54 23

Function: =RSQ(known_y's, known_x's)


Returns the square of the Pearson Product Moment Coefficient of known_y's and known_x's. Known as R-s

known_y's known_x's function result


9 0 1.000
5 2
3 3
1 4

Function: =SEARCH(find_text, within_text, [start_num])


Finds one string (find_text) within another string (within_text). Can specify where to start looking with star

find_text within_text [start_num] function result


A ABCABC ABC 1
A ABCABC ABC 5 8
Excel Lean Excel Books 6
Lean Excel Books 5

Function: =SECOND(serial_number)
Returns the second (0-59) of the serial_number.

serial number function result


12/31/2014 23:59:55 55
1/25/2015 15:39:17 17
7/4/2013 9:30:08 8
8/30/2021 6:57 12

Function: =SIGN(number)
Returns 1 if number is positive, -1 if negative, or 0 if 0.

number function result


504 1
-5.36 -1
3.7548 1
0 0

Function: =SLOPE(known_y's, known_x's)


Returns the slope of a line using linear regression of known_y's and known_x's.

known_y's known_x's function result


9 0 -2.000
5 2
3 3
1 4

Function: =SMALL(array, k)
Returns the k-th smallest value in the range array.

array
374 453 930
524 627 697
361 269 996
130 243 319
Function: =SQRT(number)
Returns the square root of number.

number function result


504 22.44994432064
4 2
-2 Err:502
0 0

Function: =SUBTOTAL(function_num,ref1,[ref2],...)
Returns the subtotal of a list or database with ref1, ref2, etc. The value of the subtotal can change based on

function_num ref1 [ref2]


count 2 L1047:L1054
sum 9 L1047:L1054 M1047:M1054
average 1 L1047:L1054 M1047:M1054
std dev 7 L1047:L1054 M1047:M1054

Function: =SUM(number1,[number2])
Returns the value of all number arguments added together.

number1 number2 number3 function result


2 3 4 9
15 M1047:M1054 102
L1047:L1054 M1047:M1054 180
L1047:L1054 M1047:M1054 N1047:N1054 390

Function: =SUMIF(range,criteria,[sum_range])
Returns the value of sum_range added together if the corresponding value in range meets the criteria.

range criteria [sum_range] function result


L1047:L1054 >3 93
L1047:N1054 15 L1047:L1054 30
L1047:L1054 <0 M1047:M1054 0
M1047:M1054 >=8 N1047:N1054 131

Function: =SUMIFS(sum_range,criteria_range1,criteria1,[criteria_range2,criteria2],...)
Returns the value of sum_range added together if all of the corresponding values in all criteria_range meet

sum_range criteria_range1 criteria1 criteria_range2


L1047:L1054 L1047:L1054 >3
M1047:M1054 L1047:L1054 15 M1047:M1054
L1047:L1054 M1047:M1054 >5 N1047:N1054
M1047:M1054 N1047:N1054 >=8 N1047:N1054

Function: =SUMPRODUCT(array1,[array2],…)
Returns the sum of corresponding values in arrays multiplied together.

array1 [array2] [array3] function result


L1047:L1054 93
L1047:L1054 2 L1047:L1054 #VALUE!
L1047:L1054 M1047:M1054 866
M1047:M1054 L1047:L1054 N1047:N1054 21520

Function: =SUMSQ(number1,[number2],…)
Returns the sum of the number arguments squared. Number arguments are squared first and then added t

number1 number2 number3 function result


L1047:L1054 1947
2 4 9 101
L1047:L1054 M1047:M1054 3224
M1047:M1054 L1047:L1054 N1047:N1054 11708

Function: =T.TEST(array1, array2, tails, type)


Returns the probability of a Student's T-Test comparing the average of array1 and array2 with number of ta

array1 array2 tails type


9 0 1 1
5 2
3 3 function result
1 4 0.22221904256737

Function: =TEXT(value, format_text)


Returns value reformatted according to the format_text specified.

value format_text function result


1/1/2015 mmm Jan
2/13/2015 12:45 mm/dd/yy hh 02/13/15 12
0.45 "0.00%" 45.00%
3.14159265358979 "0.00" 3.14
Function: =TIME(hour, minute, second)
Returns the serial number of the time of the specified hour, minute, and second.

hour minute second function result


13 13 42 1:13:42 PM
8 1 59 8:01:59 AM
20 12 54 8:12:54 PM
6 57 12 6:57:12 AM

Function: =TODAY(()
Returns the computer's date.

function result
=TODAY() 8/30/21
=TODAY()+1 8/31/21
=TODAY()-7 8/23/21
=TODAY()-DATE(2015,2, 15) 2388

Function: =TRIM(text)
Returns text with all spaces removed except for a single space between words.

text function result


ABCDEF ABCDEF
ABC DEF ABC DEF
ABC ABC
123456 789 123456 789

Function: =TRIMMEAN(array, percent)


Returns the arithmetic mean of the interior percent of range array.

array
374 453 930
524 627 697
361 269 996
130 243 319

Function: =TRUE()
Returns the value TRUE.

formula function result


=TRUE() 1
=NOT(TRUE()) 0
=OR(TRUE(),FALSE(),TRUE()) 1
=AND(TRUE(),FALSE(),TRUE()) 0

Function: =TRUNC(number,[num_digits])
Returns number truncated or cut off to the number of decimal places in num_digits. If num_digits is left bla

number [num_digits] function result


1253 2 1253
1.356 1 1.3
-0.369 2 -0.36
0 1 0

Function: =UPPER(text)
Returns text with all letters in upper case.

text function result


lean excel books LEAN EXCEL BOOKS
microsoft excel MICROSOFT EXCEL
MS excel MS EXCEL
last_name, first_name LAST_NAME, FIRST_NAME

Function: =VLOOKUP(lookup_value,table_array,col_index,[range_lookup])
Finds lookup_value in the first column of the range table_array and then returns the value from the same ro

lookup_value table_array col_index range_lookup


1001 I1199:L1204 3 0
1005 I1199:L1202 4 0
1005 I1199:L1202 2 1
1000 I1199:L1204 3 1
Hammer J1199:L1204 2 0

Function: =WEEKDAY(serial_number, [return_type])


Returns a number (1-7) of the day in the week for the serial_number. Use return_type to determine how to

serial_number [return_type] function result return_type explanation


12/20/2014 1 7 1=Sunday through 7=Saturday.
3/27/2014 2 4 1=Monday through 7=Sunday.
7/1/2015 13 1 1=Wednesday through 7=Tuesday.
8/30/2021 1 2 1=Sunday through 7=Saturday.
Function: =WEEKNUM(serial_number, [return_type])
Returns the week number of the year for the serial_number. Use return_type to determine how to count t

serial_number [return_type] function result return_type explanation


12/20/2014 1 51 The week containing Jan 1 is week 1
3/27/2014 2 13 The week containing Jan 1 is week 1
7/1/2015 13 27 The week containing Jan 1 is week 1
8/30/2021 1 36 The week containing Jan 1 is week 1

Function: =WORKDAY(start_date, days, [holidays])


Returns the serial number of the number of days after the start_date. Specify the dates of any holidays to e

start_date days holidays function result


12/20/2014 6 12/24/2014 12/30/2014
12/20/2014 8 12/25/2014 1/1/2015
7/1/2015 30 8/12/2015
8/30/2021 45 11/1/2021

Function: =YEAR(serial_number)
Returns the year of the serial_number.

serial number function result


1/25/2015 2015
7/4/2014 2014
12/7/1941 1941
8/30/2021 2021

Function: =Z.TEST(array, x, [sigma])


Returns the one-tailed value of a Z-Test of array with value x and sigma level sigma.

array x function result


9 4 0.15865525393146
5
3 [sigma]
1 1
m to identify absolute or relative references and a1 for A1 or R1C1 style and sheet_text to specify the sheet name.

sheet_text function result


Address Functions 'Address Functions'!E3
Sheet1 Sheet1!R[6]C2
Sheet2 Sheet2!A$4
Data Data!R9C2

function_result
0
1
0
0
in range meets the criteria.

DVD Sales Book Sales


10 53
24 86
3 90
6 11

values in criteria_range meet the criteria.

criteria2 function result DVD Sales Book Sales


46.6666666666667 10 53
<10 6 24 76
#DIV/0! 3 90
<=70 53 6 11

f statement with more options. Index_num cannot be greater than the number of values.

function result
A
Err:502
Bad
PowerPoint

en returns the column of the cell containing the formula.


celBooks.com

X Y Z A
1 2 99 1
2 4 76 4
3 7 64 15
4 13 51 90
5 14 30 480
5

Month Store Sales


ective criteria_ranges. Jan A $ 1,020.00
Jan B $ 1,206.00
function result Jan C $ 651.00
1 Feb A $ 984.00
2 Feb B $ 1,365.00
0 Feb C $ 995.00
0
before or after the start_date. If months is less than 0 then it returns months before; if greater than 0 then months after.

mber of months before or after the start_date. If months is less than 0 then it returns months before; if greater than 0 then months after.

nces of two arrays are not significantly different.

array1 array2 function result array1 array2


10 8 0.9039778570104 600 805
5 1 505 636
6 5 864 481
3 6 1 568
4 2 128 907

here to start looking with start_num.

n_y's and known_x's).

known_y's known_x's x known_y's known_x's


10 1 5 80 -4
21 2 46 -3
29 3 function result 40 2
36 4 45.5 32 5
the number nper of constant payments pmt.

type function result


1 $139,521.58
1 $182,741.00
1 ($159,884.01)
0 ($161,431.39)

he value from the same column in the row_index_num row of that table. For example, if you want to return the third row then row_index

function result Part Number Description Full Price Sale Price


1002 1001 Hammer $ 9.99 $ 7.99
#N/A 1002 Screwdriver $ 4.99 $ 3.99
Wrench 1003 Wrench $ 7.99 $ 6.39
3.99 1004 Nail $ 0.99 $ 0.79
1005 Hex set $ 14.99 $ 11.99
1006 Pliers $ 4.99 $ 3.99

ame is left blank, then the text of link_location will be returned as a hyperlink.
e value_if_false.

se returns value.

ithin array. Enter as an array function with either row_num or column_num as 0 (zero) to return the entire row or column.

Month Games Wins


May 4 2
June 6 4
July 5 5
ithin reference. If reference contains multiple ranges, then area_num can be used to identify which range. If row_num or column_num is

function result
Month
May
6
2

Part Number Description Full Price Sale Price


1001 Hammer $ 9.99 $ 7.99
1002 Screwdriver $ 4.99 $ 3.99
1003 Wrench $ 7.99 $ 6.39
1004 Nail $ 0.99 $ 0.79
1005 Hex set $ 14.99 $ 11.99
1006 Pliers $ 4.99 $ 3.99
1007 Measuring Tape $ 7.99 $ 6.39
1008 Bubble Level $ 9.99 $ 7.99

n of known_y's and known_x's.

known_y's known_x's function result known_y's known_x's


10 1 2.5 80 -4
21 2 46 -3
29 3 40 2
36 4 32 5
or then returns FALSE.

k function result
1 996
2 930
5 524
9 319
Part Number Description Full Price Sale Price
of that item in the range. If mat 1001 Hammer $ 9.99 $ 7.99
1002 Screwdriver $ 4.99 $ 3.99
1003 Wrench $ 7.99 $ 6.39
1004 Nail $ 0.99 $ 0.79
1005 Hex set $ 14.99 $ 11.99
1006 Pliers $ 4.99 $ 3.99
1007 Measuring Tape $ 7.99 $ 6.39
1008 Bubble Level $ 9.99 $ 7.99

function result
462
986
512
748

function result
442
565
350
672
function result
-912
0
186
199

1, number2, … Highlight the number of cells in a column to return, then press control-shift-enter simultaneously to enter as an array functi

function result
1
1 2
#VALUE!
7

function result
1
2
#VALUE!
7

cify the dates of any holidays to exclude.


Part Number Description Full Price
om reference. Use height and width to specify the number of rows and colum 1001 Hammer $ 9.99
1002 Screwdriver $ 4.99
width function result 1003 Wrench $ 7.99
1 3.99 1004 Nail $ 0.99
1 1001 1005 Hex set $ 14.99
1 1006 1006 Pliers $ 4.99
1 38.95 1007 Measuring Tape $ 7.99
1008 Bubble Level $ 9.99

function_result
1
1
0
1

s. The Pearson Product Moment Coefficient is abbreviated R.

known_y's known_x's function result known_y's known_x's


10 1 0.9943691736352 80 -4
21 2 46 -3
29 3 40 2
36 4 32 5

slightly less accurate than PERCENTILE.EXC but it will work for a value of k between 0 and 1.

k function result
25% 281.5
50% 413.5
8% 134.52
5% Err:504
102% Err:502

slightly more accurate than PERCENTILE.INC but it will only work if k is between 1/n and 1-1/n where n is the number of elements in array

k function result
10% 245.6
50% 413.5
8% 229.44
1% 142.43
102% Err:502

k [significance] function result


300 1 20%
300 3 28%
300 28%
856 2 82%
2 4 #VALUE!

k [significance] function result


300 1 20%
300 3 24%
300 24%
856 2 88%
2 4 #VALUE!
ments with an interest rate rate. Fv is the cash balance after the last payment. If fv is omitted, 0 is assumed.

type function result


1 #NUM!
1 $1,846.15
1 $8.53
0 $8.57
est rate rate based on the number nper of constant payments pmt.

type function result


1 $32,282.15
1 $32,282.15
1 $117,236.01
0 $116,628.57

quart function result


0 Err:502
1 281.5
2 413.5
3 679.5
4 Err:502
5 Err:502

quart function result


0 130
1 306.5
2 413.5
3 644.5
4 996
5 Err:502
ed on order. If multiple ranks are found, the average rank is returned. If order is left blank, the order will be ascending.

number [order] function result


129 #VALUE!
130 12
453 0 7
453 1 6
524 5.5

ed on order. If multiple ranks are found, the top rank is returned. If order is left blank, the order will be ascending.

number [order] function result


129 #VALUE!
130 12
453 0 7
453 1 7
524 5

payments of constant value pmt. Fv is the cash balance after the last payment. If fv is omitted, 0 is assumed. Guess is the guess of what t

type guess function result


1 -8%
1 -22%
1 Err:523
0 -12%

function result
B
BC
MS Excel
Lean Excel Books

m_digits is positive, then places to the right of the decimal. If negative, then places to the left of the decimal.

If num_digits is positive, then places to the right of the decimal. If negative, then places to the left of the decimal.
num_digits is positive, then places to the right of the decimal. If negative, then places to the left of the decimal.

eturns the row of the formula.

and known_x's. Known as R-squared.

known_y's known_x's function result known_y's known_x's


10 1 0.989 80 -4
21 2 46 -3
29 3 40 2
36 4 32 5

here to start looking with start_num. SEARCH is more versatile than FIND. FIND is case sensitive where SEARCH is not. SEARCH also accep
known_y's known_x's function result known_y's known_x's
10 1 8.600 80 -4
21 2 46 -3
29 3 40 2
36 4 32 5

k function result
1 130
2 243
5 361
9 627
Date Games
subtotal can change based on the function_num. 1/8/2015 4
3/15/2015 8
[ref3] function result 4/9/2015 30
8 6/19/2015 4
180 10/5/2015 6
N1047:N1054 16.25 11/26/2015 7
N1047:N1054 15.2807067899361 12/15/2015 29
12/30/2015 5

range meets the criteria.

ues in all criteria_range meets all criteria.

criteria2 function result


93
>1 0
<=25 49
<29 55

quared first and then added together.

and array2 with number of tails and type.

array1 array2 tails type


9 0 2 1
5 2
3 3 function result
1 4 0.4444380851
percent function result
10% 493.583333333333
90% 413.5
100% 413.5
0% 493.583333333333
digits. If num_digits is left blank, then number is truncated to an integer. Truncation does not involve rounding.

ns the value from the same row in the col_index_num column of that table. For example, if you want to return the third column then col_
Part Number Description Full Price Sale Price
function result 1001 Hammer $ 9.99 $ 7.99
$ 9.99 1002 Screwdriver $ 4.99 $ 3.99
#N/A 1003 Wrench $ 7.99 $ 6.39
Nail 1004 Nail $ 0.99 $ 0.79
#N/A 1005 Hex set $ 14.99 $ 11.99
$ 9.99 1006 Pliers $ 4.99 $ 3.99

urn_type to determine how to count the days.

_type explanation
day through 7=Saturday.
nday through 7=Sunday.
dnesday through 7=Tuesday.
day through 7=Saturday.
to determine how to count the weeks.

_type explanation
eek containing Jan 1 is week 1. Weeks start on Sundays.
eek containing Jan 1 is week 1. Weeks start on Mondays.
eek containing Jan 1 is week 1. Weeks start on Wednesdays.
eek containing Jan 1 is week 1. Weeks start on Sundays.

the dates of any holidays to exclude.

array x function result array x


9 4 0.1586552539315 9 4
5 5
3 [sigma] 3 [sigma]
1 1 1 1
han 0 then months after.

function result array1 array2 function result


0.200209183292 1 0.9 0.5635
1.1 1
1.2 1.1
1.1 1.2
1 1

x known_y's known_x's x
4 0.9 0.2 0.65
0.54 0.3
function result 0.32 0.5 function result
33.35185185185 0.16 0.8 0.257142857143
hird row then row_index_num = 3. If range_lookup is FALSE, then the value in the top row must match lookup_value exactly. If range_loo
_num or column_num is 0 (zero) then returns the entire row or column.

function result known_y's known_x's function result


49.5 0.9 0.2 0.981428571429
0.54 0.3
0.32 0.5
0.16 0.8
o enter as an array function.
Sale Price
$ 7.99
$ 3.99
$ 6.39
$ 0.79
$ 11.99
$ 3.99
$ 6.39
$ 7.99

function result known_y's known_x's function result


-0.81071708459 0.9 0.2 -0.92009114657
0.54 0.3
0.32 0.5
0.16 0.8

mber of elements in array.


ess is the guess of what the interest rate should be. If guess is omitted, it is assumed to be 10 percent.
function result known_y's known_x's function result
0.657 0.9 0.2 0.847
0.54 0.3
0.32 0.5
0.16 0.8

not. SEARCH also accepts the wildcard characters ? for single and * for multiple characters.
function result known_y's known_x's function result
-4.037 0.9 0.2 -1.114
0.54 0.3
0.32 0.5
0.16 0.8
Books Movies
5 2
9 4
10 24
15 61
24 23
3 51
6 26
15 19
array1 array2 tails type array1 array2 tails type
9 0 2 2 0.9 0.2 1 1
5 2 0.54 0.3
3 3 function result 0.32 0.5 function result
1 4 0.28325878 0.16 0.8 0.461626
e third column then col_index_num = 3. If range_lookup is FALSE, then the value in the first column must match lookup_value exactly. If
function result array x function result
0.158655253931 9 4 0.158655253931
5
3 [sigma]
1 1
lue exactly. If range_lookup is TRUE, then it will match the closest value to lookup_value without going over.
ookup_value exactly. If range_lookup is TRUE, then it will match the closest value to lookup_value without going over and table_array mu
ng over and table_array must be sorted in ascending order.
@LeanExcelBooks

You might also like