Example:
ABS(-5)
returns 5.
Example:
DIV(33, 2)
returns 16.
Example:
EXP(2)
returns 7.39.
Example:
FACT(6)
returns 720.
Example:
INV(4)
returns 0.25.
Example:
LOGTEN(10000)
returns 4.
Example:
LOG(125, 5)
returns 3.
Example:
LN(100)
returns 5.
PARP(Control1)
.
Column 1 | Column 2 |
---|---|
3 | 3 |
4 | 12 |
5 | 60 |
PARS(Control1)
.
Column 1 | Column 2 |
---|---|
1 | 1 |
4 | 5 |
5 | 10 |
Example:
POWER(10,2)
raises 10 to the second power, which
equals 100.
Example: If Control1 contains 2, 3, and 4,
PRODUCT(Control1)
returns 24=(2 * 3 * 4). If
PRODUCT is used in a data-entry table, it should be used
only in a header or footer cell.
Example:
MOD(10, 3)
returns 1.
Example:
ROUND(3.05882, 2)
returns 3.06.
Example: Control1 is a text box that contains the value 100.
SQRT(Control1)
returns 10.
Example: Control1 in a data-entry table contains the following
values: 1, 2, 3, and 4.
SUM(Control1)
returns 10. If you use
SUM in a data-entry table, you must place the formula
control in a header or footer cell.
Example: Control1 contains 2, 1, and 2. Control2 contains 2, 2,
3.
SUMPRODUCT(Control1, Control2)
returns 12=(2*2 + 1*2 +
2*3). If
SUMPRODUCT is used in a data-entry table, it should be
used only in a header or footer cell.
Example: Control1 in a data-entry table
contains the following values: 2, 3, 4, 7, 1.
COUNT(Control1)
returns 5.
Example:
NORMSINV(.05)
returns -1.645, which is the point on
the probability density curve that has 5% of the total area beneath it.
Example: Control1 in a data-entry table contains the following
values: 2, 4, 6, 8, 10.
MAX(Control1)
returns 10. If
MAX is used in a data-entry table, it should be used
only in a header or footer cell.
Example: Control1 in a data-entry table contains the
following values: 2, 4, 6, 8, 10. MEAN(Control1)
returns 6. If MEAN is used in a data-entry table, it
should be used only in a header or footer cell.
Example: For example, Control1 in a data-entry table contains
the following values: 1, 2, 3, 4, 5.
MEDIAN(Control1)
returns 3. If
MEDIAN is used in a data-entry table, it should be used
only in a header or footer cell.
Example: Control1 in a data-entry table contains the following
values: 2, 4, 6, 8, 10.
MIN(Control1)
returns 2. If
MIN is used in a data-entry table, it should be used
only in a header or footer cell.
Example: If Control1 contains 10, 30, 40, and 60,
RANGE(Control1)
returns 50=(60 - 10). If
RANGE is used in a data-entry table, it should be used
only in a header or footer cell.
Example: Control1 in a data-entry table contains the following
values: 80, 80, 80, and 80.
STDEV(Control1)
returns 0 because the values do not
vary. If the values are 80, 90, 100, and 110,
STDEV(Control1)
returns 12.91. If
STDEV is used in a data-entry table, it should be used
only in a header or footer cell.
Example:
NORMSDIST(0)
returns 0.50 because 50% of the
distribution falls below 0.
Num_periods
is the number of
payment periods. Rate
is the constant interest rate each period. Type
is when payments are due during a period, with 1
representing the beginning and 0 representing the end. The following examples use US dollars.
FV(rate, num_periods,
payment, present_value, type)
FV(0.05/12,
12, -10, 0, 0)
returns $122.79; therefore, the
investment would be worth $122.79 after a year. The rate, R, must be in
decimal form and should specify the interest rate per period.
For example, to calculate the future value of $5000 after 12
years with an annual interest rate of 6%, enter FV(.06,
12, 5000)
. To calculate the future value of $5000
after 12 quarters with an annual rate of 6%, enter
FV(.06/4, 12, 5000)
.
PMT(rate, num_periods,
present_value, future_value, type)
PMT(0.0725/12, 48, 10000, 0,
0)
returns -$240.62; therefore, the payment would
be $240.62 per month. PV(rate, num_periods,
payment, future_value, type)
PV(0.065, 5, 100, 0,
0)
returns $415.57; therefore, receiving payments
of $100 per year for five years would be the same as receiving
$415.57 now. Example: IF(AND(Control1="yes", Control2="yes"),
1, 0)
returns 1 if the value in Control1 and Control2 is
"yes" and returns 0 for all other values.
ARRAYIF(Control1, Control1>5)
returns the list of
values in Control 1 that are greater than 5.
ARRAYIF(Control1, Control2=MAX(Control2))
returns
the value in Control1 associated with the maximum value in Control 2.
Example: Control1 contains the following values: 2, 3, 4,
7, and 1. COUNTIF(Control1>3)
returns a 2.
Example:
IF(Control1="yes", 1, 0)
returns 1 if the value in
Control1 is "yes" and returns 0 for all other values.
Example:
NOT(ISMISSING(Control1))
returns 1 if Control1
contains a value and returns 0 if Control1 does not contain a value.
Example: IF(OR(Control1="yes",
Control2="yes"), 1, 0)
returns 1 if the value in Control1
or Control2 is "yes" and returns 0 if "yes" does not appear in either
control.
Example: Control1 contains "Total" and Control2
contains "Defects". CONCATENATE(Control1, Control2)
returns "TotalDefects ".
Example:
Control1 contains "B32A64S". FIND("A", Control1)
returns 4 because A is the 4th character in the text string.
FIND("a", Control1)
returns an error message
because the function is case-sensitive.
Example: LEFT("Project Start Date", 7)
returns
"Project".
Example:
LENGTH("Project Start
Date")
returns 18.
Example: MID("Project Start
Date", 9, 10)
returns "Start Date".
Example: Control1 contains the values 2, 4, and 1 and is in
integer format.
REPT("1",Control1)
returns 11, 1111, and 1.
Example: RIGHT("Project Start Date", 10)
returns "Start Date".
Example:
TEXT(10)
returns "10".
Example: DATE(2021, 01,
01)
returns 1/1/2021 when the data type of the formula
control is numeric, and the format is set to date. If the format is not
date, returns the number that represents the date in a numerical
date-time code.
Example: DATEDIF(Control1, Control2)
returns 12 when Control1 contains the date October 13, 2021 and Control2
contains the date October 25, 2021.
Example: The date picker
Control1 contains the date December 20, 2021.
DAY(Control1)
returns 20.
Example: The date
picker Control1 contains the date December 20, 2021.
MONTH(Control1)
returns 12.
Example: The date picker Control1 contains the date December
20, 2021.
YEAR(Control1)
returns 2021.
ARRAY
requires at least two arguments.
ARRAY(1, 2, 3, 4)
in Control1 of a data-entry table
with 4 rows returns the following results.
Example:
You create a form that requires a "yes" answer to proceed.
IF(Control1="yes", "Continue", ERROR("This value must be yes
to complete the remainder of this form."))
returns
"Continue" if the value in Control1 is "yes" and returns the error
message if Control1 is not "yes".
INDEX( )
returns the following results.
Example: Control1 contains a Numeric Box control.
ISMISSING(Control1)
returns 1 if the Numeric Box does
not contain a value and 0 if the Numeric Box does contain a value.
SEQUENCE(-10, 4)
returns the following results.