0% found this document useful (0 votes)
249 views

Anaplan Calculation Functions

The document lists functions available in Anthropic's planning software. It provides the name, category, and brief description of over 100 functions for calculations related to numeric, text, date/time, financial, aggregation, and logical operations. The functions allow users to perform a wide range of calculations and analyses within Anthropic's planning models.

Uploaded by

shalinigk
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
249 views

Anaplan Calculation Functions

The document lists functions available in Anthropic's planning software. It provides the name, category, and brief description of over 100 functions for calculations related to numeric, text, date/time, financial, aggregation, and logical operations. The functions allow users to perform a wide range of calculations and analyses within Anthropic's planning models.

Uploaded by

shalinigk
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 24

Title Syntax

ABS ABS(Number)

Numeric Functions

ADDMONTHS ADDMONTHS(Date, number)

Time and Date Functions

ADDYEARS ADDYEARS(Date, number)

Time and Date Functions

AGENTS AGENTS(SLA, Target response time, Arrival rate, Average


duration)
Call Center Planning
Functions
AGENTSB AGENTSB(SLA, Arrival rate, Average duration)

Call Center Planning


Functions
ALL Source[ALL: Mapping, ALL: Mapping 2, etc.]

Aggregation Functions

ANSWERTIME ANSWERTIME(Number of servers, SLA, Arrival rate, Average


duration)
Call Center Planning
Functions
ANY Source[ANY: Mapping, ANY: Mapping 2, etc.]

Aggregation Functions

ARRIVALRATE ARRIVALRATE(Number of servers, SLA, Target response time,


Average duration)
Call Center Planning
Functions
AVERAGE Values to average[AVERAGE: Mapping, AVERAGE: Mapping 2,
etc.]
Aggregation Functions

AVGDURATION AVGDURATION(Number of servers, SLA, Target response time,


Arrival rate)
Call Center Planning
Functions
AVGWAIT AVGWAIT(Number of servers, Arrival rate, Average duration)

Call Center Planning


Functions
CODE CODE(Item)

Miscellaneous Functions

COLLECT COLLECT()

Miscellaneous Functions

COMPARE COMPARE(Text to compare 1, Text to compare 2 [, Comparison


mode] [, Locale])
Logical Functions

COUPDAYBS COUPDAYBS(Settlement, Maturity, Frequency[, Basis])

Financial Functions

COUPDAYS COUPDAYS(Settlement, Maturity, Frequency[, basis])

Financial Functions

COUPDAYSNC COUPDAYBS(Settlement, Maturity, Frequency[, basis])

Financial Functions

COUPNCD COUPNCD(Settlement, Maturity, Frequency)

Financial Functions

COUPNUM COUPNUM(Settlement, Maturity, Frequency)

Financial Functions

COUPPCD COUPPCD(Settlement, Maturity, Frequency)

Financial Functions

CUMIPMT CUMIPMT(Interest rate, Number of periods, Principal, Start


period, End period [, Timing])
Financial Functions

CUMPRINC CUMPRINC(Interest rate, Number of periods, Loan balance,


Start period, End period [, Timing])
Financial Functions

CUMULATE CUMULATE (Values to add [, Boolean] [, List])

Time and Date Functions

CURRENTPERIODEND CURRENTPERIODEND()

Time and Date Functions

CURRENTPERIODSTART CURRENTPERIODSTART()

Time and Date Functions

CURRENTVERSION CURRENTVERSION(Line item)

Miscellaneous Functions

DATE DATE(Year, Month, Day)

Time and Date Functions

DAY DAY(Date)

Time and Date Functions

DAYS DAYS([Period])

Time and Date Functions

DAYSINMONTH DAYSINMONTH(Year, Month)

Time and Date Functions

DAYSINYEAR DAYINYEAR(Year)

Time and Date Functions

DECUMULATE DECUMULATE(Value to subtract)


Time and Date Functions

DIVIDE DIVIDE(Dividend, Divisor)

Numeric Functions

DURATION DURATION(Settlement, Maturity, Rate, Yield, Frequency [,


Basis])
Financial Functions

END END([Time period]) 

Time and Date Functions

ERLANGB ERLANGB(Number of servers, Arrival rate, Average duration)

Call Center Planning


Functions
ERLANGC ERLANGC(Number of servers, Arrival rate, Average duration)

Call Center Planning


Functions
EXP EXP(Number)

Numeric Functions

FIND FIND(Text to find, Text to search [, Starting character])

Text Functions

FINDITEM FINDITEM(List or Time, Item to find)

Miscellaneous Functions

FIRSTNONBLANK Line item to search [FIRSTNONBLANK: Mapping,


FIRSTNONBLANK: Mapping 2, etc.]
Aggregation Functions

FIRSTNONZERO FIRSTNONZERO(Value 1, Value 2, [etc.])

Numeric Functions

FV FV(Interest rate, Number of periods, Payments [, Present value]


[, Payment timing])
Financial Functions

HALFYEARTODATE HALFYEARTODATE(Line item to cumulate)

Time and Date Functions

HALFYEARVALUE HALFYEARVALUE(Line item)

Time and Date Functions

IF THEN ELSE IF Boolean argument THEN Result 1 ELSE Result 2

Logical Functions

INPERIOD INPERIOD(Date to test, Time period)

Time and Date Functions

IPMT IPMT(Interest rate, Period to examine, Number of periods,


Present value [, Future value] [, Payment timing])
Financial Functions

IRR IRR(Cash flow [, Estimate])

Financial Functions

ISACTUALVERSION ISACTUALVERSION()

Logical Functions

ISANCESTOR ISANCESTOR(Ancestor, Descendant)

Logical Functions

ISBLANK ISBLANK(Value to test)

Logical Functions

ISCURRENTVERSION ISCURRENTVERSION()

Logical Functions

ISFIRSTOCCURRENCE ISFIRSTOCCURRENCE(Values to compare, List dimension to


search)
Logical Functions

ISNOTBLANK ISNOTBLANK(Value to test)

Logical Functions

ITEM ITEM(List or Time)

Miscellaneous Functions

LAG LAG(Value to offset, Offset amount, Substitute value [, Non-


positive behavior])
Time and Date Functions

LASTNONBLANK Line item to search[LASTNONBLANK: Mapping,


LASTNONBLANK: Mapping 2, etc.]
Aggregation Functions

LEAD LEAD(Value to offset, Offset amount, Substitute value [, Non-


positive behavior])
Time and Date Functions

LEFT LEFT(Text [, Number of characters]) 

Text Functions

LENGTH LENGTH(Text to evaluate)

Text Functions

LN LN(Number)

Numeric Functions

LOG LOG(Number, Base)

Numeric Functions

LOOKUP Values to lookup[LOOKUP: Mapping, LOOKUP: Mapping 2]

Logical Functions

LOWER LOWER(Text [, Locale])


Text Functions

MAILTO MAILTO(Display text, To [, CC] [, BCC] [, Subject] [, Body text])

Text Functions

MAKELINK MAKELINK(Display text, URL)

Text Functions

MAX Source[MAX: Mapping, MAX: Mapping 2, etc.]

Aggregation Functions

MAX MAX(Value to compare, Value to compare 2, [etc.])

Numeric Functions

MDURATION MDURATION(Settlement, Maturity, Rate, Yield, frequency [,


basis])
Financial Functions

MID MID(Text, Start position [, Number of characters])

Text Functions

MIN Source[MIN: Mapping, MIN: Mapping 2, etc.]

Aggregation Functions

MIN MIN(Value to compare, Value to compare 2, [etc.])

Numeric Functions

MOD MOD(Dividend, Divisor)

Numeric Functions

MONTH MONTH(Value to convert, [Time period method]) 

Time and Date Functions

MONTHTODATE MONTHTODATE(Line item to aggregate)


Time and Date Functions

MONTHVALUE MONTHVALUE(Line item)

Time and Date Functions

MOVINGSUM MOVINGSUM(Line item to aggregate [, Start period] [, End


period] [, Aggregation method])
Time and Date Functions

MROUND MROUND(Number to round [, Multiple to round to] [, Rounding


direction])
Numeric Functions

NAME NAME(List item)

Text Functions

NEXT NEXT(Expression)

Time and Date Functions

NEXTVERSION NEXTVERSION(Expression)

Miscellaneous Functions

NPER NPER(Interest rate, Payments, Present value [, Residual value] [,


Timing])
Financial Functions

NPV NPV(Discount rate, Cash flow, Dates, Transactions)

Financial Functions

OFFSET OFFSET(Value to offset, Offset amount, Substitute value)

Time and Date Functions

PARENT PARENT(Child value)

Miscellaneous Functions

PERIOD PERIOD(Date)
Time and Date Functions

PMT PMT(Interest rate, Number of periods, Present value [, Future


value] [, Timing])
Financial Functions

POST POST(Value to post, Offset amount) 

Time and Date Functions

POWER POWER(Number, Power)

Numeric Functions

PPMT PPMT(Interest rate, Period to examine, Number of periods,


Present value [, Future value] [, Timing])
Financial Functions

PREVIOUS PREVIOUS(Expression)

Time and Date Functions

PREVIOUSVERSION PREVIOUSVERSION(Expression)

Miscellaneous Functions

PRICE PRICE(Settlement, Maturity, Rate, Yield, Redemption,


Frequency[, Basis])
Financial Functions

PROFILE PROFILE(Number to change, Profile)

Time and Date Functions

PV PV(Interest rate, Number of periods, Payments, Future value,


Payment timing)
Financial Functions

QUARTERTODATE QUARTERTODATE(Line item to aggregate)

Time and Date Functions

QUARTERVALUE QUARTERVALUE(Line item)


Time and Date Functions

RANK RANK(Source values [, Direction] [, Equal value behavior] [,


Include value] [, Ranking groups])
Miscellaneous Functions

RANKCUMULATE RANKCUMULATE(Cumulation values, Ranking values [,


Direction] [, Include value] [, Ranking groups])
Miscellaneous Functions

RATE RATE(Number of periods, Payments, Present value[, Future


value] [, Payment timing] [ ,Rate estimate])
Financial Functions

RIGHT RIGHT(Text [, Number of characters])

Text Functions

ROUND ROUND(Number to round [, Number of decimal places] [,


Rounding direction] [, Rounding method])
Numeric Functions

SELECT Source[SELECT: Target item]

Logical Functions

SIGN SIGN(Number)

Numeric Functions

SLA SLA(Number of servers, Target response time, Arrival rate,


Average duration)
Call Center Planning
Functions
SPREAD SPREAD(Value to divide, Number of time periods)

Time and Date Functions

SQRT SQRT(Number)

Numeric Functions

START START(Time period)


Time and Date Functions

SUBSTITUTE SUBSTITUTE(Text to search in, Text to find, Replacement text)

Text Functions

SUM Values to sum[SUM: Mapping, SUM: Mapping 2, etc.]

Aggregation Functions

TEXT TEXT(Number to convert)

Text Functions

TEXTLIST Values to list[TEXTLIST: Mapping, TEXTLIST: Mapping 2, etc.]

Aggregation Functions

TEXTLIST TEXTLIST(Text to concatenate, Separator, List to reference [,


Duplicate behavior])
Text Functions

TIMESUM TIMESUM(Line item to aggregate [, Start period] [, End period]


[, Aggregation method])
Time and Date Functions

TRIM TRIM(Text)

Text Functions

UPPER UPPER(Text [, Locale])

Text Functions

VALUE VALUE(Value to convert)

Miscellaneous Functions

WEEKDAY WEEKDAY(Date [, First day of the week])

Time and Date Functions

WEEKTODATE WEEKTODATE(Line item to aggregate)


Time and Date Functions

WEEKVALUE WEEKVALUE(Line item)

Time and Date Functions

YEAR YEAR(Value to convert, [Time period method]) 

Time and Date Functions

YEARFRAC YEARFRAC(Start, End[, Basis])

Financial Functions

YEARTODATE YEARTODATE(Line item)

Time and Date Functions

YEARVALUE YEARVALUE(Line item)

Time and Date Functions

YIELD YIELD(Settlement, Maturity, Rate, Price, Redemption,


Frequency [, Basis])
Financial Functions
Description

The ABS function returns the absolute value of a number.


The absolute value of zero or a positive number remains the
same. The absolute value of a negative number is the same
number without the negative sign (the positive version).

The ADDMONTHS function adds a number of months to a


date.

The ADDYEARS function adds a number of years to a date.

The AGENTS function calculates the number of servers (or


agents) needed to fulfil requests within a target time.

The AGENTSB function calculates the number of servers


required to answer a specified percentage of calls (or SLA)
within a busy period.

The ALL aggregation function returns a TRUE result for all


values that match specific Boolean criteria in a source
module.

The ANSWERTIME function calculates the minimum hold


time required to answer a certain percentage of calls, or
service level agreement (SLA).

The ANY aggregation function returns a TRUE result for any


value that matches specific Boolean criteria in a source
module.

The ARRIVALRATE function calculates the maximum interval


between requests possible while processing a specified
percentage of these requests.

The AVERAGE aggregation function takes a set of values


from a source module and returns the mean average in a
result module.

The AVGDURATION function calculates the required average


duration of calls in order to answer a certain percentage of
calls, or service level agreement (SLA).
The AVGWAIT function calculates the average waiting time
for a request or call to be processed.

The CODE function returns a list item's code.

Use the COLLECT function in a module that includes a line


item subset to pull the source line item values into the
module.

The COMPARE function compares text values. If they're the


same, it returns 0. If the first text value is greater, it returns
1, and if the first text value is less, it returns -1.

Use the COUPDAYBS (coupon days before settlement)


function to calculate the number of days from the beginning
of the coupon period until its settlement date. The number
returned includes both the first day of the period and the
settlement date.
Use the COUPDAYS function to return the number of
coupon days in the coupon period that contains the
settlement date.

Use the COUPDAYSNC function to calculate the number of


coupon days from the settlement date until the next coupon
date. The number returned excludes the settlement date
and includes the last day of the next coupon period.

The COUPNCD function calculates the next coupon date


after a settlement date.

The COUPNUM function returns the number of coupons


payable between a settlement and maturity date.

The COUPPCD function calculates the previous coupon date


before a settlement date.

The CUMIPMT function calculates the cumulative interest


paid on a loan over a period given equal payments made to
the balance.
The CUMPRINC function calculates the amount of principal
paid on a loan over a period, given consistent, equal
payments.

The function CUMULATE adds values and returns a number.


By default, the values are added across a time period. You
can also choose to add values across a list.

The CURRENTPERIODEND function returns the end date


from a model's current period.

The CURRENTPERIODSTART function returns the start date


from a model's current period.

The CURRENTVERSION function returns the value from


another line item for the version that is set as Current in a
model.

The DATE function forms a date from values that represent


the year, month, and day. 

The DAY function returns the day from a date as a number


between 1 and 31. If the day is blank, it returns 0.

The DAYS function returns the number of days in a given


time period.

The DAYSINMONTH function returns the number of days in


a month you specify.

The DAYSINYEAR function returns the number of days in a


year you specify.

The DECUMULATE function calculates the difference


between the values of the current and previous periods.
Use DIVIDE to divide one number by another.

You can use the DURATION function to calculate the


Macauley duration for an assumed parity value of 100
monetary units.
The Macauley duration is the weighted average maturity of
cash flows. That is, the weighted average distance to
payment. It's used to measure a bond price's response to
The END in
changes function
yield. Areturns
higher the last date
Macauley of a time
duration period. 
value indicates
a riskier investment.

The ERLANGB function determines the probability of a


request being blocked given a specified number of servers,
arrival rate of requests, and the average service duration.

The ERLANGC function determines the probability of a


request being placed in a queue given a specified number of
servers, arrival rate of requests, and the average duration to
process requests.

The EXP function raises the mathematical constant e, or


Euler's number, to the power you specify.

The FIND function searches for the first occurrence of a text


value within another one. If the text contains the specified
characters, the function returns a number. This number
indicates the position of the first occurrence of the text
value searched for.
The FINDITEM function searches for a text value within the
names and codes of the items or time periods in a given list
or Time respectively. If the FINDITEM function finds a
match, it returns the corresponding list item or time period.

The aggregation function FIRSTNONBLANK returns the first


value of a line item found for a given list item or time
period. 

The FIRSTNONZERO function searches through two or more


numeric arguments and returns the first value that is not
zero.

The FV function calculates the future value of an


investment. The future value is the lump sum or closing
balance received at the end of an investment.
The HALFYEARTODATE function cumulates values from a
single numeric parameter, over a half-year period. The
HALFYEARTODATE cumulation starts at the Fiscal Year Start
Month as selected in the Model Calendar, and resets every
half-year.
The HALFYEARVALUE function references another line item
and returns the half-yearly time summary in place of the
detail value.

Tests a Boolean argument and returns one of two results


based on whether it is true or false.

The INPERIOD function returns a TRUE result for a date that


falls under a time period or a module's Time dimension. It
returns FALSE for all other dates.

The IPMT function calculates the amount of interest to be


paid on a loan in a given payment period. The function
assumes a consistent interest rate and payment timings in
each period.

The IRR function calculates the internal rate of return for a


series of positive and negative transactions. It can be used
either with all transactions over a timescale, or with
specified transactions on certain dates.

The ISACTUALVERSION function returns a TRUE result for


the version that is set as Actual in a model. It returns FALSE
for all other versions.

The ISANCESTOR function takes two list or time period


values. It returns a Boolean value of TRUE if the first is an
ancestor of the second. Ancestors of an item are its parent,
its parent's parent, and so on.

The ISBLANK function returns true for values that are blank.

The ISCURRENTVERSION function returns a TRUE result for


the version that is set as Current in a model. It returns FALSE
for all other versions.

The ISFIRSTOCCURRENCE function returns a Boolean value


of TRUE for the first occurrence of a value in a list
dimension.
The ISNOTBLANK function returns a Boolean result for
values that are not blank.

When used with a list, the ITEM function returns the list
item that applies to each cell. When used with Time, it
returns the time period that applies to each cell.

LAG returns a value from a period in the past. 

The aggregation function LASTNONBLANK returns the last


value of a line item found for a given list item or time
period. 

LEAD returns a value from a period in the future. 

Extracts a string of characters from text, starting from the


left.

The LENGTH (or LEN) function returns the number of


characters in a text string.

Use the natural logarithm (LN) to work out the length of


time it takes to achieve a unit of growth.
LN returns the natural logarithm of a number, based on the
constant e. This function is the inverse of the EXP function,
which raises e to the nth power.
The LOG function returns the logarithm of a number to the
base you specify.

Use the LOOKUP function to look up values in a source


module or list and display the values in a target module. 

The LOWER function converts text values to lowercase.


Use the MAILTO function to generate clickable links that
send an email. You can specify recipients, subjects, and body
text.

The MAKELINK function generates clickable links in a


module.

The MAX aggregation function returns the maximum value


from a line item in a source module.

The MAX function returns the maximum from a set of


values. For a number, it returns the maximum value. For a
date, it returns the latest date.

You can use the MDURATION function to calculate the


modified Macauley duration for an assumed parity value of
100 monetary units.
The modified Macauley duration expresses the measurable
change in the value of a bond in response to a change in
interest rates. The result represents the effect that a 1%
Extracts
change ina interest
number rates
of characters
will havefrom a text
on the string,
price starting
of a bond.
from a character you select.

The MIN aggregation function returns the minimum value


from a line item in a source module.

The MIN function returns the minimum from a set of values.


For a number, it returns the minimum value. For a date, it
returns the earliest date.

The MOD function returns the remainder when one number


is divided by another, or modulo.

The function MONTH converts a date or time period to a


month in number format.

MONTHTODATE cumulates values from a single numeric


parameter, within a monthly time range.
The MONTHVALUE function references another line item
and returns the monthly time summary in place of the detail
value.

MOVINGSUM returns values over a changing time range. For


each time range included, it aggregates the sum of values
found.

The MROUND function rounds a value to the nearest


multiple of a number.

Use the NAME function to convert data from a list item to


text.

The NEXT function evaluates an expression based on the


next period in the Time dimension.

The NEXTVERSION function evaluates the given expression


using the next version.

The NPER function calculates the required number of


periods to achieve a certain value for a loan or investment.
This is based on a given interest rate, consistent payments,
and opening and closing balance.

The NPV function calculates the net present value for a


series of positive and negative transactions with a constant
interest rate.

OFFSET returns a value from a period before or after the


current period. 

The PARENT function returns the parent item of list items


and time periods.

The PERIOD function converts a date to a time period. 


The PMT function calculates the payments due for a loan or
annuity over a specified number of periods, given a
consistent interest rate and payment amount.

The POST function offsets, or posts, a numeric value into the


past or the future by a given number of periods. If multiple
values are offset to the same period, the POST function adds
them together.

The POWER function raises a number to the power you


specify.

The PPMT function calculates how much of a payment is


allocated to its principal part rather than interest. The
function assumes a consistent interest rate and payment
timings in each period.

The PREVIOUS function evaluates an expression based on


the previous period of the Time dimension.

The PREVIOUSVERSION function evaluates the given


expression using the previous version.

The PRICE function calculates the price per 100 monetary


units invested for a bond that pays periodic interest.

Use the PROFILE function to multiply values over time based


on a series of numbers, or profile.

The PV function calculates the present value of an


investment or the principal value of a loan.

QUARTERTODATE accumulates values from a single numeric


parameter, within a quarterly time range.

The QUARTERVALUE function references another line item


and returns the quarterly time summary in place of the
detail value.
The RANK function evaluates a set of values and assigns
sequential rankings starting at 1.

The RANKCUMULATE function ranks values and then


cumulates values in order of the ranking. It can perform
ranking separately across different groups.

The RATE function calculates the interest rate for a loan or


investment based on length, payments, and present and
future value.

Extracts a string of characters from text, starting from the


right. 

The ROUND function rounds a value to a specified number


of decimal places, an integer, or a power of 10.

Use the SELECT function to return values from a given list


item or time period.

The SIGN function returns the sign of a number (whether it's


positive, negative, or zero). The SIGN function returns 1 for
positive numbers, 0 for zero, and -1 for negative numbers.

The SLA function calculates what percentage of calls must


be answered within a target answer time, or service level
agreement (SLA).

The SPREAD function divides a value evenly over a number


of time periods. 

The SQRT function calculates the square root of a number.

The START function returns the first date of a time period. 


The SUBSTITUTE function finds all occurrences of a text
value within another one, and replaces them with a given
value.

The SUM aggregation function sums values in a result


module based on mapping from a source module.

The TEXT function converts numeric values to text.

The TEXTLIST aggregation function returns a collection of


text values as a comma-separated value. The values
returned are based on mapping from a source module.

The TEXTLIST function concatenates a series of text values


into a single text value.

The TIMESUM function aggregates values between two time


periods and returns a single value.

The TRIM function removes all leading and trailing spaces,


and extra spaces between words in a text string.

The UPPER function converts text values to uppercase.

The VALUE function converts text values that represent


numbers to numbers.

The WEEKDAY function converts a date to a number


between one and seven, representing the day of the week.

WEEKTODATE aggregates the daily values within a week


from a single numeric parameter. WEEKTODATE resets after
the last day of the week.
The WEEKVALUE function references another line item and
returns the weekly time summary in place of the detail
value.

The function YEAR converts a date or time period to a year


in number format. 

Use the YEARFRAC function to calculate the fraction of a


year between two dates (inclusive of the start date,
exclusive of the end date).
The function uses a basis (day-count convention) to count
the number of days between these dates, and then divide
that number by the basis.
YEARTODATE cumulates values from a single numeric
parameter, within a yearly time range. YEARTODATE resets
at each yearly start date, based on Calendar Type.

The YEARVALUE function references another line item and


returns the yearly time summary in place of the detail value.

Use this function to calculate the yield to maturity (YTM) of


a bond.

You might also like