Professional Documents
Culture Documents
Example Workbook by Scott Ratliff
Example Workbook by Scott Ratliff
Example Workbook by Scott Ratliff
By Scott Ratliff
www.LeanExcelBooks.com
Function: =ABS(number)
Description: Returns the absolute value of number.
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
Function: =AND(logical1,logical2,...)
Returns TRUE if all logical arguments are TRUE.
Function: =AVERAGE(number1,[number2],...)
Returns the arithmetic mean of the number arguments.
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
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
Function: =CLEAN(text)
Returns text with all non-printable characters removed.
Function: =COLUMN([reference])
Returns a number of the column of the reference. If reference is left blank then returns the column of the c
Function: =COLUMNS(array)
Returns the number of columns in the range array.
Function: =CONVERT(number,from_unit,to_unit)
Returns the result of converting number in from_unit to the equivalent value in to_unit.
Function: =CORREL(array1,array2)
Returns the correlation coefficient between the two data sets array1 and array2.
Function: =COUNTA(value1,[value2],...)
Returns the number of cells in a range (value1, value2, …) that are not empty.
Function: =COUNTBLANK(range)
Returns the number of cells in range that are empty.
Function: =COUNTIF(range,criteria)
Returns the number of cells in a range that meet the specified criteria.
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.
Function: =DAY(serial_number)
Returns the day of the month (1-31) of the serial_number.
Function: =DAYS(end_date,start_date)
Returns the number of days between end_date and start_date.
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
Function: =EXP(number)
Returns the value of e (Euler's number) raised to the power number.
Function: =FACT(number)
Returns the value of number's factorial.
Function: =FALSE()
Returns the value FALSE.
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.
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
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
Function: =HOUR(serial_number)
Returns the hour (0-23) of the serial_number.
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
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.
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.
Function: =IFNA(value)
If value is #N/A then returns the value_if_na, otherwise returns value.
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
Function: =INDIRECT(ref_text,[a1])
Returns the reference specified by the text string ref_text. If a1 is TRUE or omitted, then r
Function: =INT(number)
Returns number rounded down the nearest integer.
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'
Function: =ISBLANK(value)
If value is blank then returns TRUE, if not then returns FALSE.
Function: =ISERR(value)
If value is an error other than #N/A then returns TRUE, if not then returns FALSE.
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.
Function: =ISNUMBER(value)
If value is a number then returns TRUE, if not then returns FALSE.
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.
Function: =LN(number)
Returns the natural logarithm of number.
Function: =LOG(number,[base])
Returns the logarithm with base base of number.
Function: =LOG10(number)
Returns the common logarithm (base 10) of number.
Function: =LOWER(text)
Returns text with all letters in lower case.
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
Function: =MAX(number1,[number2], …)
Returns the largest value in a range (number1, number2, …).
Function: =MINUTE(serial_number)
Returns the minute (0-59) of the serial_number.
Function: =MOD(number,divisor)
Returns the remainder of number divided by divisor.
Function: =MONTH(serial_number)
Returns the month (1-12) of the serial_number.
Function: =MROUND(number,multiple)
Returns number rounded to the nearest multiple.
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 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
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
array
374 453 930
524 627 697
361 269 996
130 243 319
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
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.
Function: =PRODUCT(number1,[number2],...)
Returns the value of all number arguments multiplied together.
Function: =PROPER(text)
Returns text with the first letter in each word in upper case and the rest to lower case.
array
374 453 930
524 627 697
361 269 996
130 243 319
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.
ref
524 453 930
524 627 697
361 269 996
130 243 319
ref
524 453 930
524 627 697
361 269 996
130 243 319
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: =REPT(text,number_times)
Repeats text a given number of times.
Function: =ROUND(number,num_digits)
Returns number rounded to the decimal place specified by num_digits. If num_digits is positive, then place
Function: =ROUNDDOWN(number,num_digits)
Returns number rounded down to the decimal place specified by num_digits. If num_digits is positive, then
Function: =ROW([reference])
Returns a number of the row of the reference. If reference is left blank then returns the row of the formula
Function: =ROWS(array)
Returns the number of rows in the range array.
Function: =SECOND(serial_number)
Returns the second (0-59) of the serial_number.
Function: =SIGN(number)
Returns 1 if number is positive, -1 if negative, or 0 if 0.
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.
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: =SUM(number1,[number2])
Returns the value of all number arguments added together.
Function: =SUMIF(range,criteria,[sum_range])
Returns the value of sum_range added together if the corresponding value in range meets the criteria.
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
Function: =SUMPRODUCT(array1,[array2],…)
Returns the sum of corresponding values in arrays multiplied together.
Function: =SUMSQ(number1,[number2],…)
Returns the sum of the number arguments squared. Number arguments are squared first and then added t
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.
array
374 453 930
524 627 697
361 269 996
130 243 319
Function: =TRUE()
Returns the value TRUE.
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
Function: =UPPER(text)
Returns text with all letters in upper case.
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
Function: =YEAR(serial_number)
Returns the year of the serial_number.
function_result
0
1
0
0
in range meets the criteria.
f statement with more options. Index_num cannot be greater than the number of values.
function result
A
Err:502
Bad
PowerPoint
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
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.
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
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.
function result
Month
May
6
2
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
function_result
1
1
0
1
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
ed on order. If multiple ranks are found, the top rank is returned. If order is left blank, the order will be ascending.
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
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.
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
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
_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.
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.
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