DateToPeriod Function
DateToPeriod Function
Description
The DateToPeriod function returns the proper period name (year, quarter, or posting) based on a date.
Function Arguments
| Argument Name | Input Information | Required |
|---|---|---|
| Date | Reference a cell with a date in it or type in a date with format "MM/DD/YYYY" | Yes |
| Period Type | Valid values are Year, Quarter, and Posting with Posting being the default | No |
| Subsidiary | Fill in if Subsidiary confirmation is required as some subsidiaries have different period ranges | No |
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.
- Have an Excel file with four dates typed into cells for each quarter
- Go to Function Library > select the DateToPeriod function
- Select the first date as your date argument, type in "Quarter" as the Period Type, leave Subsidiary blank
- See the period name returned and drag the function down to apply to the other dates.