Skip to main content

DateToPeriod Function

DateToPeriod Function

Description

The DateToPeriod function returns the proper period name (year, quarter, or posting) based on a date.

Function Arguments

Argument NameInput InformationRequired
DateReference a cell with a date in it or type in a date with format "MM/DD/YYYY"Yes
Period TypeValid values are Year, Quarter, and Posting with Posting being the defaultNo
SubsidiaryFill in if Subsidiary confirmation is required as some subsidiaries have different period rangesNo

Example

Let's say a user wants to period names for the four quarters in their fiscal year. They can utilize the DateToPeriod function to return this.

  1. Have an Excel file with four dates typed into cells for each quarter
  2. Go to Function Library > select the DateToPeriod function
  3. Select the first date as your date argument, type in "Quarter" as the Period Type, leave Subsidiary blank
    1. date-to-period
  4. See the period name returned and drag the function down to apply to the other dates.
    1. date-to-period-result