@yearnum

Definition

Year number

A relative time reference in @if statements.

Returns

The year number.

Example

@if(@yearnum=2001,v1080(-1y),v1000*@input)  

In 2001, the formula returns the value of 2000 Selling, General & Administration Expense (v1080). In other forecast years, the formula return an input percentage (@input) times Sales (v1000).