Breadcrumbs

Dealing with leading Zeros in Financial Periods

Overview

The Velixo Copy Workbook Without Formulas feature can be used with a variety of reports.

When using the feature with Excel arrays (i.e., data where a single function fills in multiple cells within a worksheet), there are certain limitations when working with Financial Periods.

Details

The financial periods in most of the ERPs supported by Velixo are in the format MM-YYYY. The period number is always represented by two digits.

So, for period 1 through 9, there is always a leading zero required at the beginning of the value. For example: 01-2020, 07-2022, 09-2023, etc.

The Velixo functions which return Excel arrays [such as the GI() function] always include the leading zero for financial periods:


https://s3.ca-central-1.amazonaws.com/cdn.velixo.com/helpdesk/on7YjtBoTMarILbKoVTflMxdQuqYADtADQ.png


Because Excel does not typically recognize leading zeros for numeric values, when the financial period is included as part of an array, the copy process involved in the Copy Workbook Without Formulas feature removes the leading zeros:


https://s3.ca-central-1.amazonaws.com/cdn.velixo.com/helpdesk/ZPvUGn4ucPhixE2jpkePIjHzFN-DdnCHkA.png


This also applies to the Velixo Distribution List feature, when used to remove the formulas.

Workaround

While the Velixo Team is looking at techniques to avoid this issue, there is a certain workaround you can utilize.

Use the "remove all formulas" option from either the Velixo ribbon:

https://s3.ca-central-1.amazonaws.com/cdn.velixo.com/helpdesk/PWa0GjJjEN7l9eI1YsYbVq1-dP-NRSui_w.png


or with a Distibution List:


https://s3.ca-central-1.amazonaws.com/cdn.velixo.com/helpdesk/7rlHF9wSS-qwGbdrOZ0d1JahbxkAo6Ng9w.png


and format the column (containing the financial periods) as Text:


https://s3.ca-central-1.amazonaws.com/cdn.velixo.com/helpdesk/2e-m6H3J8Ww-jvqyoo3Bs1fw60DPQ8FR4A.png


Then, Excel is able to automatically retain the leading zeros in the resulting file:


https://s3.ca-central-1.amazonaws.com/cdn.velixo.com/helpdesk/J7SlQhl5BGu-NDByytIOP2A2XV2P-rHQhA.png