[]
        
(Showing Draft Content)

R.YOY

This function is used to get the year-over-year ratio.

Syntax

R.YOY(ValueCell, ContextCell1, [ContextCell2])

Arguments

This function has the following arguments:

Argument

Description

ValueCell

[Required] Specify the cell for which you want to get the year-over-year ratio.

ContextCell1

[Required] Specify the context cell 1, which usually is the year cell.

Example:

If the A2 cell is bound to the year column, B2 cell is bound to the month column, C2 cell is bound to the sales column, then R.YOY(C2, A2) will return the year-over-year ratio.

ContextCell2

[Optional] Specify the context cell 2.

If the value cell is a cross cell, this argument must be specified.

Example 1: The value cell is a normal cell

Template:

RS-YOY-normalCellTemplate


Preview:

RS-YOY-normalCellReport


Example 2: The value cell is a cross cell

Template:

RS-YOY-crossCellTemplate


Preview:

RS-YOY-crossCellReport