A relative time reference in @if statements.
@if(@qtrnum=3,v1080(-1Q),v1000*@input)
In the third quarter, this formula takes the value of second quarter Selling, General & Administration Expense (v1080). In the first, second, and fourth quarters, the formula takes an input percentage (@input) times Sales (v1000).