PERIOD_RANGE
Syntax
PERIOD_RANGE(fromDate, toDate)Arguments
Return value
Example
PERIOD_RANGE(DATE(2023,1,1),DATE(2023, 12,31))
//Create a date range for 2023
Was this helpful?
The PERIOD_RANGE function returns an array of date ranges between two specified dates. It can be used with other functions like FILTER.
PERIOD_RANGE(fromDate, toDate)fromDate- The start of the date range. Required.
toDate- The end date of the range. Required.
Array of dates
PERIOD_RANGE(DATE(2023,1,1),DATE(2023, 12,31))
//Create a date range for 2023The PERIOD_RANGE function can be used with forecasts as well. In this application of the PERIOD_RANGE function
The PERIOD_RANGE function is used to select the open forecast periods
The FILTER function filters out the forecast values > 1000 for open periods
The open forecasts greater than 1000 are then summed up

Was this helpful?
Was this helpful?