Home   >   User Resources   >   Online Help   >   apaData.Dates.Earliest.Month
 

 

Function index Version 3.0.0

apaData.Dates.Earliest.Month(DataMatrix)

Excel=apaData.Dates.Earliest.Month(DataMatrix)

Result

Returns the first observation (complete row) of each calendar month.

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 months 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.