apaData.Dates.Earliest.Quarter(DataMatrix)
Excel
=apaData.Dates.Earliest.Quarter(DataMatrix)Result
Returns the first observation (complete row) of each calendar quarter.
Syntax
DataMatrix: nObs x nSeries data matrix, the first column containing Excel dates in ascending order
Remarks
The first column must contain Excel dates in ascending order; a header row or a non-numeric or decreasing date returns an error that states the row. Times of day are ignored when assigning a date to a period. The first and last quarters of the data may be incomplete, so their first observation is not necessarily at the beginning of the period. Blank cells are shown as #N/A.
