Average of Values (difference between two assets, from a table)

Last updated 9 November 2026

Function reference › Risk and Performance Measures › Average

1 GIAnalyzer function for Excel. Optional arguments are shown in [brackets].

GIA_RPM_AverageValuesFromTable2

Returns the average of the differences beween two values, during a specified period, given historical values.

GIA_RPM_AverageValuesFromTable2(HistoricalData, SingleDatesColumn, AssetName1, AssetName2, StartDate, EndDate, ExcludeFromDate, ExcludeToDate)

Returns: Average of the differences beween two values, during a specified period

ArgumentUseDescription
HistoricalDataRequiredThe array of historical data of the assets.
SingleDatesColumnRequiredWhether the historical data table has only one shared column for dates (Yes, No).
AssetName1RequiredThe first asset.
AssetName2RequiredThe second asset.
StartDateRequiredThe first date in the required period.
EndDateRequiredThe last date in the required period.
ExcludeFromDateRequiredThe first date in the period excluded from the required period.
ExcludeToDateRequiredThe last date in the period excluded from the required period.