{"text_format":"1","workbook":"xlsx","n_sheets":6,"sheets":["Info","Trial","Instructions","Setup","Leave","Summary"],"not_rendered":{"charts":0,"images":2,"macros":1,"external_links":0,"defined_names":17,"comments":0,"pivot_tables":0},"unopened":[],"bounds":{"document_bytes":16777216,"sheet_cells":100000,"rows_first":2000,"rows_last":500,"rows_between":2000,"halvings":0,"cell_chars":16384,"cell_head_chars":4096},"cells_cut":0,"cells_raw":0,"read":"whole","date_system":"1900"}

{"sheet":"Info","index":0,"n_rows":0,"n_cols":0,"rows_kept":0,"cut":false,"hidden":false,"merged":[]}

{"sheet":"Trial","index":1,"n_rows":0,"n_cols":0,"rows_kept":0,"cut":false,"hidden":true,"merged":[]}

{"sheet":"Instructions","index":2,"n_rows":95,"n_cols":1,"rows_kept":95,"cut":false,"hidden":true,"merged":[]}
["Excel Skills | Annual Leave Template"]
["Instructions"]
["www.excel-skills.com"]
[]
["This template calculates the outstanding annual leave days of employees and keeps record of all leave taken or paid. Annual leave is sometimes also referred to as holiday pay or vacation days and we have designed this template with flexibility in mind to be able to keep record of any annual leave system whether leave accrues based on hourly, daily, weekly, bi-weekly (fortnightly) or monthly pay periods. The template can basically be used to calculate leave balances for any annual period with easy roll forwards to the next annual periods and you can save different copies of the template to accommodate different types of leave."]
[]
["The template includes the following sheets:"]
["Setup - set up the template for your business by changing the user input settings in the cells with yellow cell backgrounds. All other cells contain formulas and are automatically updated based on your settings. You can set the business name which is used as a sheet heading, enter a cycle date which represents the first day of the annual period included in the template, select a pay basis (monthly, bi-weekly, weekly, daily or hourly), enter the number of work hours per day, elect to accrue leave on total or worked hours or days and enter the number of holidays included in the specified annual period. This template can be used for an unlimited number of years by simply saving a new file for every year and copying over the opening balances from the previous year's file."]
["Leave - when an employee takes leave, the number of leave units taken should be recorded on this sheet. Leave units are usually expressed as days but the template also accommodates entering leave units in hours if the hourly pay period option is selected on the Setup sheet."]
["Summary - the outstanding leave days of each employee is calculated on this sheet. You need to create an employee code for each employee, enter the employment date and termination date (if applicable), enter the salary and leave entitlement per pay period and enter the opening leave units. The annual leave entitlement, leave accrual, leave taken or paid, outstanding leave days and provision for outstanding leave values are then calculated automatically. The sheet also contains a monthly analysis of leave taken or paid over the specified 12-month period."]
[]
["Template Set-up"]
[]
["The template can be customized for your business by setting the appropriate user input values on the Setup sheet. Start by entering your business name which is used as a heading on all of the sheets. You can then set your leave cycle start date - the template covers an annual period and the date entered in this cell should therefore be the first day of the annual period which should be included in the template calculations. The cycle end date is then automatically determined based on the start date."]
[]
["Note: The template can be used for multiple annual periods by saving a new version for each annual period and copying the opening leave balances from the previous period's file."]
[]
["You can then select a pay period basis. The template accommodates monthly, bi-weekly (fortnightly), weekly, daily and hourly pay periods. When you select the pay period, the dates in the pay period section on the Setup sheet will be updated automatically and these dates are also included in the list box in cell L2 on the Summary sheet."]
[]
["You also need to enter the work hours per day which only has a calculation effect if the hourly pay period basis is selected and you need to specify if leave should be accrued based on total hours or days or only based on worked hours or days. The last user defined setting is for the number of public holidays included in the selected annual period. The holidays only affect the business days calculation which in turn only affects the calculation of the provision for outstanding leave on the Summary sheet."]
[]
["The pay basis and annual factor section and the pay period section are automatically set based on your period selections and used in the template formulas to calculate the accrual of leave and the leave days due."]
[]
["Recording Leave Taken Or Paid"]
[]
["When an employee takes leave, the number of leave units taken should be entered on the Leave sheet. The following columns are included on this sheet:"]
["Annual Leave Date - enter the date on which the employee's leave commences. All dates should be entered in accordance with the system date settings."]
["Form Number - enter the leave form number. If leave forms are not being used, enter a transaction number instead. We strongly recommend using leave forms which are numbered sequentially in order to be able to ensure that all leave forms are accounted for. For leave payments, the payment reference number can be used in this column."]
["Employee Code - select the appropriate employee code from the list box in column C. All employee codes which have been added to the Summary sheet will be included in the list box. For new employees, you will have to add the appropriate employee code to the Summary sheet before it will be available for selection from this list box."]
["Number of Units - enter the number of units of leave taken by or paid to the employee. If the hourly payment basis has been selected on the Setup sheet, the leave units taken by or paid to the employee should be entered in hours. If any other payment basis has been specified, leave units should be entered in days."]
["Payment Indicator - enter a \"P\" in this column if a payment in lieu of outstanding leave has been made. The \"P\" in this column distinguishes payments from leave taken."]
["Employee Name - this column contains a formula to display the employee name of the employee selected in column C. We have included this formula to make it easier for users to check whether the correct employee code has been selected."]
[]
["Note: All the columns on the Leave sheet have been included in an Excel table. This feature is extremely useful when entering data in a table format because the formula in the calculated column (the column with a light blue column heading) is automatically copied when new rows are inserted into the table or when data is entered into the first blank row below the table. You can therefore add a new entry to the Leave sheet by simply entering a new leave entry date in the first blank cell in column A - the table will then automatically extend to include the new leave entry."]
[]
["The leave data entered on the Leave sheet is used to update the calculations in the Annual Leave Taken and Annual Leave Paid columns and the 12-month leave analysis on the Summary sheet."]
[]
["Outstanding Leave Days"]
[]
["The Summary sheet contains all the calculations of outstanding leave, annual leave entitlements, annual leave accruals, leave taken, leave paid and a provision for outstanding leave. All of these calculations are on a per employee basis and users therefore need to add a unique employee code for each employee to the Excel table on the sheet. Only the columns with yellow column headings require user input and all the columns with light blue column headings contain formulas and are automatically calculated when adding new employees to the table."]
[]
["The following user input columns are included on the Summary sheet:"]
["Employee Code - a unique employee code should be entered for each employee. We recommend that you use the employee number as per your payroll system for this purpose. If your payroll system does not include unique employee numbers, you can use any unique numbering system."]
["Employee Name - enter the name of the employee."]
["Department Code - enter a department or group code for each employee. The code entered in this column will enable you to use the Filter feature in order to filter employees by group or department and to thereby calculate a leave provision for each group or department."]
["Employment Date - enter the date on which the appropriate employee starts their employment. Leave will be accrued from this date. No adjustment is made for a part of a month - the leave accrual will start in the first month of an employee's employment. If you only want the accrual of leave to start in the subsequent month, enter the first day of the subsequent month as the employment date. You do not need to amend employment dates when rolling the template forward for the next annual period. Employment dates will therefore always remain the same."]
["Termination Date - if an employee is terminated, resigns or leaves employment for any other reason, the date on which the employee is terminated should be entered in this column. The accrual of leave will end on this date. No provision is made for portions of months which means that leave will still be accrued for the month in which the termination date falls. If you want the accrual of leave to end at the previous month, enter the last day of the previous month as the termination date. You do not need to remove terminated employees from the template when rolling forward as the leave accruals will automatically return zero values for pay periods after the specified termination date."]
["Salary Per Pay Period - enter the gross remuneration of each employee on the same basis as the pay period which has been selected on the Setup sheet. For example, if the monthly pay period has been selected, enter the monthly pay or if the hourly pay period has been selected, enter the hourly pay. This amounts entered in this column are only used for the leave provision calculations. If you only want to calculate outstanding leave days or hours and no provision, you do not need to enter any salary amounts in this column."]
["Annual Leave Opening - enter the opening balance of leave days or hours as at the leave cycle start date which has been set on the Setup sheet. When you roll the template forward from a previous annual period, the leave days or hours can be copied from the Annual Leave Due column in the file for the previous annual period."]
["Leave Pay Per Period - enter the number of hours or days of leave which need to be accrued for every paid hour or day worked. This annual leave accrual rate should be entered on the same basis and the pay basis which has been selected on the Setup sheet."]
[]
["Here are a few examples of leave pay per period and the accrual of leave:"]
["Example 1: If the annual leave entitlement of an employee is 15 days and the employee is paid on a monthly basis, the leave pay per period is 1.25 being 15 days divided by 12 months in an annual period. Leave will therefore be accrued at a rate of 1.25 leave days for every pay month worked."]
["Example 2: If the annual leave entitlement of an employee is 20 days and the employee is paid on a bi-weekly (fortnightly) basis, the leave pay per period is 0.769 being 20 days divided by 26 fortnightly periods in an annual period. Leave will therefore be accrued at a rate of 0.769 leave days for every fortnightly period worked."]
["Example 3: If the annual leave entitlement of an employee is 15 days and the employee is paid on a weekly basis, the leave pay per period is 0.288 being 15 days divided by 52 weekly periods in an annual period. Leave will therefore be accrued at a rate of 0.288 leave days for every weekly period worked."]
["Example 4: If the annual leave entitlement of an employee is 18 days and the employee is paid on a daily basis, the leave pay per period is 0.049 being 18 days divided by 365 days in an annual period. Leave will therefore be accrued at a rate of 0.049 leave days for every day worked. Note that the template calculations automatically adjust to 366 days if the specified annual period includes a leap year."]
["Example 5: If the leave entitlement of an employee is 1 hour for every 17 hours worked and the employee is paid on a hourly basis, the leave pay per period is 0.0588 being 1 hour divided by 17 hours. As it is based on worked hours, you should make sure that you select the Worked option from the list box in cell C13 on the Setup sheet so that the leave accrual is based on worked hours instead of total hours. In an annual period of 365 days, the employee would therefore earn 14.76 days or 118.1 hours of leave being 251 work days (as per our work days calculation) divided by 17 hours worked and multiplied by 8 for the accrued leave hours calculation."]
[]
["Note: If you prefer to enter the annual leave entitlements instead of the leave entitlement per pay period, you can leave the leave pay per period column blank and override the formulas in the annual leave entitlement column by entering the appropriate values. You may then want to change the colour of the column heading cell to yellow as a reminder that the annual entitlement column is now a user input column."]
[]
["We'll now cover the columns with light blue column headings which all contain formulas and are therefore automatically calculated and extended when adding new employees to the sheet:"]
["Annual Leave Entitlement - this calculation is based on the leave per pay period entered in the previous column and adjusted based on the number of pay periods in an annual period. If you elect to calculate leave based on worked hours instead of total hours, this adjustment is also made. The calculated value reflects the total leave entitlement of the employee for a full annual period."]
["Annual Leave Accrued - the number of leave days accrued by the employee from the cycle start date (or employment date if after the cycle start date) to the end of the pay period which is selected from the list box in cell L2 (or the termination date if earlier). This calculation is based on the employee's leave entitlement as calculated in the previous column and the number of elapsed periods based on the period selected in cell L2. The number of elapsed payment periods is also reflected in cell L3."]
["Annual Leave Taken - the number of leave days or hours which have been taken by the employee based on the leave days or hours entered on the Leave sheet. This calculation only includes the leave days or hours taken between the template start date and the end of the period selected from the list box in cell L2."]
["Annual Leave Paid -the number of leave days or hours which have been paid to the employee based on the paid leave days or hours entered on the Leave sheet. This calculation only includes the paid leave days or hours between the template start date and the end of the period selected from the list box in cell L2."]
["Annual Leave Due - the leave days due to the employee is calculated in this column. The balance as at the end of the selected pay period (based period selected in cell L2) is reflected in this column and is calculated by adding the leave accrued to the opening leave balance and deducting the leave taken or paid from this calculation."]
["Annual Leave Provision - the leave provision for each employee is calculated in this column. This amount is calculated by applying a daily or hourly salary rate to the leave days or hours due which has been calculated in the previous column. The daily or hourly salary rate is calculated based on the salary per pay period which is converted to an annual equivalent which is then divided by the number of work days in the annual period as per the calculation on the Setup sheet. The leave provision amounts represent the amounts which would need to be paid to the employee upon termination of employment and the total leave provision represents the extent of the possible liability for the business."]
["Leave 1 to 12 - the calculations in these columns reflect the total days or hours leave taken by or paid to each employee. There is a column for each of the monthly periods included in the template with the appropriate monthly dates reflected above the column headings."]
[]
["Note: If the calculation of the leave days due for any employee results in a negative value, the value is highlighted in orange and the leave provision amount is set to zero. The highlighting indicates that the employee has taken more leave than entitled to (up to the end of the selected pay period as per cell L2) - the leave of these employees should therefore be closely monitored bearing in mind that some employees may take most of their annual leave entitlement early on in a financial year and the accrual of leave in subsequent periods may reinstate a positive leave due balance. Negative leave due balances result in a no provision because it is assumed that excessive leave which has been taken will not be deducted from the employee's salary."]
[]
["The total leave provision for all employees is included in cell N3. If a filter is applied to the Summary sheet by using the Filter feature, the total provision amount calculated will only include the filtered records."]
[]
["Note: All the columns on the Summary sheet have been included in an Excel table. This feature is extremely useful when entering data in a table format because the formulas in calculated columns (the columns with light blue column headings) are automatically copied when new rows are inserted into the table or when data is entered into the first blank row below the table. You can therefore add a new employee to the Summary sheet by simply entering a new employee code in the first blank cell in column A - the table will then automatically extend to include the new employee."]
[]
["This template has been designed to incorporate a full annual period. We do not recommend using the template for shorter periods - if you want to start using the template during a financial year, we suggest capturing your opening leave balances at the start of the financial year in the opening balance column on the Summary sheet and capturing all the leave taken by or paid to employees since the start of the financial year on the Leave sheet."]
[]
["Template Roll Forward"]
[]
["This template can be used for any 12-month reporting period by simply entering the appropriate leave cycle start date on the Setup sheet. When you come to the end of the initial 12-month period, you will need to roll the template forward for the next 12-month period. The following steps should be completed in order to roll the template forward:"]
["■ Make sure that you complete all the input of leave taken & paid before rolling the template forward for the next 12-month period otherwise the necessary input may need to be repeated in the new version of the template and you may need to adjust your opening balances."]
["■ Save the template under a different file name in order to create a copy of the current version of the template."]
["■ Copy all the annual leave due calculations in column M on the Summary sheet and paste the calculations as values in column G on the Summary sheet. The closing leave balances of the previous period are thereby included as the opening balances of the new 12-month period."]
["■ Enter a new leave cycle start date in cell B7 on the Setup sheet. The 12-month reporting period which is included in the template will be amended automatically."]
["■ Update the salary per pay period amounts in column F on the Summary sheet and the leave per pay period in column H on the Summary sheet (if necessary)."]
["■ Note that the employment and termination dates of employees do not ever need to be changed regardless of how many times the template is rolled forward for subsequent annual periods. These dates will always remain the same aside from adding new termination dates as and when they occur. It is also not necessary to ever delete employees once they have been terminated as no leave calculations are performed on terminated employees."]
["■ The leave data which has been captured on the Leave sheet can be left unchanged and will not affect the calculations for the new annual period. If you prefer to delete the previous 12 month's entries, you can do so but make sure that you retain the formula in the first row in column F."]
[]
["Help & Customization"]
[]
["If you experience any difficulty while using this template and you are not able to find the appropriate guidance in these instructions, please e-mail us at support@excel-skills.com for assistance. This template has been designed with flexibility in mind to ensure that it can be used in most business environments. If however you need an Excel based template that is customized specifically for your business requirements, please e-mail our Support function and provide a brief explanation of your requirements."]
[]
["© Copyright"]
[]
["This template remains the intellectual property of www.excel-skills.com and is protected by international copyright laws. Any publication or distribution of this template outside the scope of the permitted use of the template is expressly prohibited. In terms of the permitted use of this template, only the distribution of the template to persons within the same organisation as the registered user or persons outside the organisation who can reasonably be expected to require access to the template as a direct result of the use of the template by the registered user is allowed. Subsequent distribution of the template by parties outside of the organisation is however expressly prohibited and represents an infringement of international copyright laws."]

{"sheet":"Setup","index":3,"n_rows":395,"n_cols":5,"rows_kept":395,"cut":false,"hidden":true,"merged":[[4,1,4,3]]}
[{"$f":"IF(ISBLANK($B$5),\"Example Company Limited\",$B$5)","v":"Example Company (Pty) Limited"}]
["Annual Leave Setup"]
["© www.excel-skills.com"]
[]
["Business Name","Example Company (Pty) Limited"]
[]
["Cycle Start Date","2021-03-01",{"$f":"IF(ISBLANK($B$7),DATE(YEAR(TODAY()),MONTH(TODAY()),1),$B$7)","v":"2021-03-01"},"Cycle End Date",{"$f":"DATE(YEAR(Start)+1,MONTH(Start),0)","v":"2022-02-28"}]
[]
["Pay Period Basis","Monthly"]
[]
["Work Hours Per Day",8,{"$f":"IF(ISBLANK($B$11),8,$B$11)","v":8}]
[]
["Accrue On Total Or Worked Units",null,"Total"]
[]
["Number of Public Holidays",null,10]
[]
["Number of Work Days",null,{"$f":"IF(ISERROR(NETWORKDAYS(Start,$E$7))=TRUE,260,NETWORKDAYS(Start,$E$7))","v":261}]
["Net Work Days",null,{"$f":"C17-C15","v":251}]
[]
["Pay Basis","Annual Factor","Units","Interval","Rows"]
["Hourly",{"$f":"B22*B11","v":2920},"Hours",1,{"$f":"B22","v":365}]
["Daily",{"$f":"E7+1-Start","v":365},"Days",1,{"$f":"B22","v":365}]
["Weekly",52,"Days",7,{"$f":"B23","v":52}]
["Bi-Weekly",26,"Days",14,26]
["Monthly",12,"Days",30,12]
[]
["Pay Periods"]
[]
[{"$f":"C30","v":"Monthly"}]
[{"$f":"IF(B30>$C$31,\"\",IF($C$30=\"Monthly\",DATE(YEAR($B$7),MONTH($B$7)+1,0),$B$7+$C$33-1))","v":"2021-03-31"},{"$f":"ROW($A30)-ROW($A$29)","v":1},{"$f":"IF(ISBLANK($B$9),\"Monthly\",$B$9)","v":"Monthly"}]
[{"$f":"IF(B31>$C$31,\"\",IF($C$30=\"Monthly\",DATE(YEAR(A30),MONTH(A30)+2,0),A30+$C$33))","v":"2021-04-30"},{"$f":"ROW($A31)-ROW($A$29)","v":2},{"$f":"IF(ISNA(VLOOKUP($C$30,PayBasis,2,0)),12,VLOOKUP($C$30,PayBasis,2,0))","v":12}]
["2021-05-31",3,{"$f":"IF(C30=\"Hourly\",\"Hours\",\"Days\")","v":"Days"}]
["2021-06-30",4,{"$f":"IF(ISNA(VLOOKUP($C$30,PayBasis,4,0)),1,VLOOKUP($C$30,PayBasis,4,0))","v":30}]
["2021-07-31",5,{"$f":"IF(ISNA(VLOOKUP($C$30,PayBasis,5,0)),12,VLOOKUP($C$30,PayBasis,5,0))","v":12}]
["2021-08-31",6,{"$f":"IF($C$13=\"Total\",1,IF(B22=0,0,C18/B22))","v":1}]
["2021-09-30",7]
["2021-10-31",8]
["2021-11-30",9]
["2021-12-31",10]
["2022-01-31",11]
["2022-02-28",12]
["",13]
["",14]
["",15]
["",16]
["",17]
["",18]
["",19]
["",20]
["",21]
["",22]
["",23]
["",24]
["",25]
["",26]
["",27]
["",28]
["",29]
["",30]
["",31]
["",32]
["",33]
["",34]
["",35]
["",36]
["",37]
["",38]
["",39]
["",40]
["",41]
["",42]
["",43]
["",44]
["",45]
["",46]
["",47]
["",48]
["",49]
["",50]
["",51]
["",52]
["",53]
["",54]
["",55]
["",56]
["",57]
["",58]
["",59]
["",60]
["",61]
["",62]
["",63]
["",64]
["",65]
[{"$f":"IF(B95>$C$31,\"\",IF($C$30=\"Monthly\",DATE(YEAR(A94),MONTH(A94)+2,0),A94+$C$33))","v":""},{"$f":"ROW($A95)-ROW($A$29)","v":66}]
["",67]
["",68]
["",69]
["",70]
["",71]
["",72]
["",73]
["",74]
["",75]
["",76]
["",77]
["",78]
["",79]
["",80]
["",81]
["",82]
["",83]
["",84]
["",85]
["",86]
["",87]
["",88]
["",89]
["",90]
["",91]
["",92]
["",93]
["",94]
["",95]
["",96]
["",97]
["",98]
["",99]
["",100]
["",101]
["",102]
["",103]
["",104]
["",105]
["",106]
["",107]
["",108]
["",109]
["",110]
["",111]
["",112]
["",113]
["",114]
["",115]
["",116]
["",117]
["",118]
["",119]
["",120]
["",121]
["",122]
["",123]
["",124]
["",125]
["",126]
["",127]
["",128]
["",129]
[{"$f":"IF(B159>$C$31,\"\",IF($C$30=\"Monthly\",DATE(YEAR(A158),MONTH(A158)+2,0),A158+$C$33))","v":""},{"$f":"ROW($A159)-ROW($A$29)","v":130}]
["",131]
["",132]
["",133]
["",134]
["",135]
["",136]
["",137]
["",138]
["",139]
["",140]
["",141]
["",142]
["",143]
["",144]
["",145]
["",146]
["",147]
["",148]
["",149]
["",150]
["",151]
["",152]
["",153]
["",154]
["",155]
["",156]
["",157]
["",158]
["",159]
["",160]
["",161]
["",162]
["",163]
["",164]
["",165]
["",166]
["",167]
["",168]
["",169]
["",170]
["",171]
["",172]
["",173]
["",174]
["",175]
["",176]
["",177]
["",178]
["",179]
["",180]
["",181]
["",182]
["",183]
["",184]
["",185]
["",186]
["",187]
["",188]
["",189]
["",190]
["",191]
["",192]
["",193]
[{"$f":"IF(B223>$C$31,\"\",IF($C$30=\"Monthly\",DATE(YEAR(A222),MONTH(A222)+2,0),A222+$C$33))","v":""},{"$f":"ROW($A223)-ROW($A$29)","v":194}]
["",195]
["",196]
["",197]
["",198]
["",199]
["",200]
["",201]
["",202]
["",203]
["",204]
["",205]
["",206]
["",207]
["",208]
["",209]
["",210]
["",211]
["",212]
["",213]
["",214]
["",215]
["",216]
["",217]
["",218]
["",219]
["",220]
["",221]
["",222]
["",223]
["",224]
["",225]
["",226]
["",227]
["",228]
["",229]
["",230]
["",231]
["",232]
["",233]
["",234]
["",235]
["",236]
["",237]
["",238]
["",239]
["",240]
["",241]
["",242]
["",243]
["",244]
["",245]
["",246]
["",247]
["",248]
["",249]
["",250]
["",251]
["",252]
["",253]
["",254]
["",255]
["",256]
["",257]
[{"$f":"IF(B287>$C$31,\"\",IF($C$30=\"Monthly\",DATE(YEAR(A286),MONTH(A286)+2,0),A286+$C$33))","v":""},{"$f":"ROW($A287)-ROW($A$29)","v":258}]
["",259]
["",260]
["",261]
["",262]
["",263]
["",264]
["",265]
["",266]
["",267]
["",268]
["",269]
["",270]
["",271]
["",272]
["",273]
["",274]
["",275]
["",276]
["",277]
["",278]
["",279]
["",280]
["",281]
["",282]
["",283]
["",284]
["",285]
["",286]
["",287]
["",288]
["",289]
["",290]
["",291]
["",292]
["",293]
["",294]
["",295]
["",296]
["",297]
["",298]
["",299]
["",300]
["",301]
["",302]
["",303]
["",304]
["",305]
["",306]
["",307]
["",308]
["",309]
["",310]
["",311]
["",312]
["",313]
["",314]
["",315]
["",316]
["",317]
["",318]
["",319]
["",320]
["",321]
[{"$f":"IF(B351>$C$31,\"\",IF($C$30=\"Monthly\",DATE(YEAR(A350),MONTH(A350)+2,0),A350+$C$33))","v":""},{"$f":"ROW($A351)-ROW($A$29)","v":322}]
["",323]
["",324]
["",325]
["",326]
["",327]
["",328]
["",329]
["",330]
["",331]
["",332]
["",333]
["",334]
["",335]
["",336]
["",337]
["",338]
["",339]
["",340]
["",341]
["",342]
["",343]
["",344]
["",345]
["",346]
["",347]
["",348]
["",349]
["",350]
["",351]
["",352]
["",353]
["",354]
["",355]
["",356]
["",357]
["",358]
["",359]
["",360]
["",361]
["",362]
["",363]
["",364]
["",365]
["",366]

{"sheet":"Leave","index":4,"n_rows":16,"n_cols":6,"rows_kept":16,"cut":false,"hidden":true,"merged":[]}
[{"$f":"Setup!$A$1","v":"Example Company (Pty) Limited"}]
["Leave Records"]
["© www.excel-skills.com",null,null,{"$f":"Setup!$C$32","v":"Days"}]
["Annual Leave Date","Form \nNumber","Employee Code","Number of Units","Payment Indicator","Employee \nName"]
["2021-03-22",1,1000,3,null,{"$f":"IF(ISBLANK($C5)=TRUE,\"\",IF(ISNA(VLOOKUP($C5,Employees,COLUMN(Summary!$B$5),0))=TRUE,\"incorrect code\",VLOOKUP($C5,Employees,COLUMN(Summary!$B$5),0)))","v":"A Taylor"}]
["2021-04-15",2,1020,3,null,{"$f":"IF(ISBLANK($C6)=TRUE,\"\",IF(ISNA(VLOOKUP($C6,Employees,COLUMN(Summary!$B$5),0))=TRUE,\"incorrect code\",VLOOKUP($C6,Employees,COLUMN(Summary!$B$5),0)))","v":"M Smith"}]
["2021-04-26",3,1000,3,null,{"$f":"IF(ISBLANK($C7)=TRUE,\"\",IF(ISNA(VLOOKUP($C7,Employees,COLUMN(Summary!$B$5),0))=TRUE,\"incorrect code\",VLOOKUP($C7,Employees,COLUMN(Summary!$B$5),0)))","v":"A Taylor"}]
["2021-05-03",4,1025,4,null,{"$f":"IF(ISBLANK($C8)=TRUE,\"\",IF(ISNA(VLOOKUP($C8,Employees,COLUMN(Summary!$B$5),0))=TRUE,\"incorrect code\",VLOOKUP($C8,Employees,COLUMN(Summary!$B$5),0)))","v":"C Jones"}]
["2021-06-20",5,1000,9,null,{"$f":"IF(ISBLANK($C9)=TRUE,\"\",IF(ISNA(VLOOKUP($C9,Employees,COLUMN(Summary!$B$5),0))=TRUE,\"incorrect code\",VLOOKUP($C9,Employees,COLUMN(Summary!$B$5),0)))","v":"A Taylor"}]
["2021-06-30","Payment",1020,14,"P",{"$f":"IF(ISBLANK($C10)=TRUE,\"\",IF(ISNA(VLOOKUP($C10,Employees,COLUMN(Summary!$B$5),0))=TRUE,\"incorrect code\",VLOOKUP($C10,Employees,COLUMN(Summary!$B$5),0)))","v":"M Smith"}]
["2021-07-20",6,1035,2,null,{"$f":"IF(ISBLANK($C11)=TRUE,\"\",IF(ISNA(VLOOKUP($C11,Employees,COLUMN(Summary!$B$5),0))=TRUE,\"incorrect code\",VLOOKUP($C11,Employees,COLUMN(Summary!$B$5),0)))","v":"T Cook"}]
["2021-09-18",7,1050,10,null,{"$f":"IF(ISBLANK($C12)=TRUE,\"\",IF(ISNA(VLOOKUP($C12,Employees,COLUMN(Summary!$B$5),0))=TRUE,\"incorrect code\",VLOOKUP($C12,Employees,COLUMN(Summary!$B$5),0)))","v":"W Clark"}]
["2021-09-30","Payment",1035,6.75,"P",{"$f":"IF(ISBLANK($C13)=TRUE,\"\",IF(ISNA(VLOOKUP($C13,Employees,COLUMN(Summary!$B$5),0))=TRUE,\"incorrect code\",VLOOKUP($C13,Employees,COLUMN(Summary!$B$5),0)))","v":"T Cook"}]
["2021-12-16",8,1025,9,null,{"$f":"IF(ISBLANK($C14)=TRUE,\"\",IF(ISNA(VLOOKUP($C14,Employees,COLUMN(Summary!$B$5),0))=TRUE,\"incorrect code\",VLOOKUP($C14,Employees,COLUMN(Summary!$B$5),0)))","v":"C Jones"}]
["2021-12-16",9,1050,5,null,{"$f":"IF(ISBLANK($C15)=TRUE,\"\",IF(ISNA(VLOOKUP($C15,Employees,COLUMN(Summary!$B$5),0))=TRUE,\"incorrect code\",VLOOKUP($C15,Employees,COLUMN(Summary!$B$5),0)))","v":"W Clark"}]
["2022-02-10",10,1000,3,null,{"$f":"IF(ISBLANK($C16)=TRUE,\"\",IF(ISNA(VLOOKUP($C16,Employees,COLUMN(Summary!$B$5),0))=TRUE,\"incorrect code\",VLOOKUP($C16,Employees,COLUMN(Summary!$B$5),0)))","v":"A Taylor"}]

{"sheet":"Summary","index":5,"n_rows":11,"n_cols":26,"rows_kept":11,"cut":false,"hidden":true,"merged":[]}
[{"$f":"Setup!$A$1","v":"Example Company (Pty) Limited"},null,null,null,null,null,null,null,null,null,null,{"$f":"IF(ISNA(MATCH($L$2,PayPeriod,0))=TRUE,\"Period error!\",\"\")","v":""}]
["Leave Summary",null,"Start Date",{"$f":"Start","v":"2021-03-01"},null,null,null,null,null,null,"Select  Pay Period","2022-02-28",null,"Total Provision"]
["© www.excel-skills.com",null,"End Date",{"$f":"DATE(YEAR(Start)+1,MONTH(Start),0)","v":"2022-02-28"},null,null,null,null,null,null,"Pay Period No",{"$f":"IF(OR(ISBLANK($L$2),ISNA(MATCH($L$2,PayPeriod,0))),0,MATCH($L$2,PayPeriod,0))","v":12},null,{"$f":"SUBTOTAL(109,Summary[[#Data],[Annual Leave Provision]])","v":14345.019920318724}]
[null,null,null,{"$f":"IF(ISBLANK($D$2),DATE(YEAR(TODAY()),MONTH(TODAY()),1),$D$2)","v":"2021-03-01"},null,{"$f":"Setup!$C$30","v":"Monthly"},null,{"$f":"Setup!$C$30","v":"Monthly"},null,null,null,null,null,null,{"$f":"$D$3","v":"2022-02-28"},{"$f":"DATE(YEAR(O4),MONTH(O4),0)","v":"2022-01-31"},{"$f":"DATE(YEAR(P4),MONTH(P4),0)","v":"2021-12-31"},"2021-11-30","2021-10-31","2021-09-30","2021-08-31","2021-07-31","2021-06-30","2021-05-31","2021-04-30","2021-03-31"]
["Employee Code","Employee \nName","Department Code","Employment Date","Termination Date","Salary Per Pay Period","Annual Leave Opening","Leave Per Pay Period","Annual Leave Entitlement","Annual Leave Accrued","Annual Leave Taken","Annual Leave Paid","Annual Leave Due","Annual Leave Provision","Leave \n1","Leave \n2","Leave \n3","Leave \n4","Leave \n5","Leave \n6","Leave \n7","Leave \n8","Leave \n9","Leave \n10","Leave \n11","Leave \n12"]
[1000,"A Taylor",1,"2018-08-01",null,36000,5,1.6666666666666667,{"$f":"IF($L$3=0,0,ROUND(H6*Setup!$C$31*Setup!$C$35,2))","v":20},{"$f":"IF(OR($L$3=0,$L$2<$D6,AND(ISBLANK($E6)=FALSE,$E6<$D$2)),0,I6/Setup!$C$31*MAX(0,IF(AND(ISBLANK(E6)=FALSE,E6<=$D$3),IF(ISNA(MATCH($E6,PayPeriod,1)),1,MIN($L$3,IF(ISNA(MATCH($E6,PayPeriod,0))=FALSE,MATCH($E6,PayPeriod,0),MATCH($E6,PayPeriod,1)+1))),$L$3)-IF(AND(D6>=$D$2,D6<=$D$3),IF(ISNA(MATCH($D6,PayPeriod,1)),0,IF(ISNA(MATCH($D6,PayPeriod,0))=FALSE,MATCH($D6,PayPeriod,1)-1,MATCH($D6,PayPeriod,1))),0))*IF($H$4=\"Hourly\",Setup!$C$11,1))","v":20},{"$f":"IF($L$3=0,0,IF(AND(ISBLANK($E6)=FALSE,$E6<$D$2),0,-SUMIFS(LeaveDays,LeaveDate,\">=\"&Start,LeaveDate,\"<=\"&$L$2,LeaveCode,$A6,LeavePmt,\"<>P\")))","v":-18},{"$f":"IF($L$3=0,0,IF(AND(ISBLANK($E6)=FALSE,$E6<$D$2),0,-SUMIFS(LeaveDays,LeaveDate,\">=\"&Start,LeaveDate,\"<=\"&$L$2,LeaveCode,$A6,LeavePmt,\"P\")))","v":0},{"$f":"IF($L$3=0,0,IF(AND(ISBLANK($E6)=FALSE,$E6<$D$2),0,G6+SUM(J6:L6)))","v":7},{"$f":"IF($L$3=0,0,IF(M6<0,0,IF(Setup!$C$18=0,0,$F6*Setup!$C$31/Setup!$C$18/IF($H$4=\"Hourly\",Setup!$C$11,1)*$M6)))","v":12047.808764940239},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(O$4),MONTH(O$4),1),LeaveDate,\"<=\"&O$4,LeaveCode,$A6)","v":3},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(P$4),MONTH(P$4),1),LeaveDate,\"<=\"&P$4,LeaveCode,$A6)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(Q$4),MONTH(Q$4),1),LeaveDate,\"<=\"&Q$4,LeaveCode,$A6)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(R$4),MONTH(R$4),1),LeaveDate,\"<=\"&R$4,LeaveCode,$A6)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(S$4),MONTH(S$4),1),LeaveDate,\"<=\"&S$4,LeaveCode,$A6)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(T$4),MONTH(T$4),1),LeaveDate,\"<=\"&T$4,LeaveCode,$A6)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(U$4),MONTH(U$4),1),LeaveDate,\"<=\"&U$4,LeaveCode,$A6)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(V$4),MONTH(V$4),1),LeaveDate,\"<=\"&V$4,LeaveCode,$A6)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(W$4),MONTH(W$4),1),LeaveDate,\"<=\"&W$4,LeaveCode,$A6)","v":9},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(X$4),MONTH(X$4),1),LeaveDate,\"<=\"&X$4,LeaveCode,$A6)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(Y$4),MONTH(Y$4),1),LeaveDate,\"<=\"&Y$4,LeaveCode,$A6)","v":3},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(Z$4),MONTH(Z$4),1),LeaveDate,\"<=\"&Z$4,LeaveCode,$A6)","v":3}]
[1020,"M Smith",1,"2020-05-31","2021-06-30",17500,12,1.25,{"$f":"IF($L$3=0,0,ROUND(H7*Setup!$C$31*Setup!$C$35,2))","v":15},{"$f":"IF(OR($L$3=0,$L$2<$D7,AND(ISBLANK($E7)=FALSE,$E7<$D$2)),0,I7/Setup!$C$31*MAX(0,IF(AND(ISBLANK(E7)=FALSE,E7<=$D$3),IF(ISNA(MATCH($E7,PayPeriod,1)),1,MIN($L$3,IF(ISNA(MATCH($E7,PayPeriod,0))=FALSE,MATCH($E7,PayPeriod,0),MATCH($E7,PayPeriod,1)+1))),$L$3)-IF(AND(D7>=$D$2,D7<=$D$3),IF(ISNA(MATCH($D7,PayPeriod,1)),0,IF(ISNA(MATCH($D7,PayPeriod,0))=FALSE,MATCH($D7,PayPeriod,1)-1,MATCH($D7,PayPeriod,1))),0))*IF($H$4=\"Hourly\",Setup!$C$11,1))","v":5},{"$f":"IF($L$3=0,0,IF(AND(ISBLANK($E7)=FALSE,$E7<$D$2),0,-SUMIFS(LeaveDays,LeaveDate,\">=\"&Start,LeaveDate,\"<=\"&$L$2,LeaveCode,$A7,LeavePmt,\"<>P\")))","v":-3},{"$f":"IF($L$3=0,0,IF(AND(ISBLANK($E7)=FALSE,$E7<$D$2),0,-SUMIFS(LeaveDays,LeaveDate,\">=\"&Start,LeaveDate,\"<=\"&$L$2,LeaveCode,$A7,LeavePmt,\"P\")))","v":-14},0,{"$f":"IF($L$3=0,0,IF(M7<0,0,IF(Setup!$C$18=0,0,$F7*Setup!$C$31/Setup!$C$18/IF($H$4=\"Hourly\",Setup!$C$11,1)*$M7)))","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(O$4),MONTH(O$4),1),LeaveDate,\"<=\"&O$4,LeaveCode,$A7)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(P$4),MONTH(P$4),1),LeaveDate,\"<=\"&P$4,LeaveCode,$A7)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(Q$4),MONTH(Q$4),1),LeaveDate,\"<=\"&Q$4,LeaveCode,$A7)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(R$4),MONTH(R$4),1),LeaveDate,\"<=\"&R$4,LeaveCode,$A7)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(S$4),MONTH(S$4),1),LeaveDate,\"<=\"&S$4,LeaveCode,$A7)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(T$4),MONTH(T$4),1),LeaveDate,\"<=\"&T$4,LeaveCode,$A7)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(U$4),MONTH(U$4),1),LeaveDate,\"<=\"&U$4,LeaveCode,$A7)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(V$4),MONTH(V$4),1),LeaveDate,\"<=\"&V$4,LeaveCode,$A7)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(W$4),MONTH(W$4),1),LeaveDate,\"<=\"&W$4,LeaveCode,$A7)","v":14},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(X$4),MONTH(X$4),1),LeaveDate,\"<=\"&X$4,LeaveCode,$A7)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(Y$4),MONTH(Y$4),1),LeaveDate,\"<=\"&Y$4,LeaveCode,$A7)","v":3},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(Z$4),MONTH(Z$4),1),LeaveDate,\"<=\"&Z$4,LeaveCode,$A7)","v":0}]
[1025,"C Jones",2,"2021-01-01",null,8400,0,1.25,{"$f":"IF($L$3=0,0,ROUND(H8*Setup!$C$31*Setup!$C$35,2))","v":15},{"$f":"IF(OR($L$3=0,$L$2<$D8,AND(ISBLANK($E8)=FALSE,$E8<$D$2)),0,I8/Setup!$C$31*MAX(0,IF(AND(ISBLANK(E8)=FALSE,E8<=$D$3),IF(ISNA(MATCH($E8,PayPeriod,1)),1,MIN($L$3,IF(ISNA(MATCH($E8,PayPeriod,0))=FALSE,MATCH($E8,PayPeriod,0),MATCH($E8,PayPeriod,1)+1))),$L$3)-IF(AND(D8>=$D$2,D8<=$D$3),IF(ISNA(MATCH($D8,PayPeriod,1)),0,IF(ISNA(MATCH($D8,PayPeriod,0))=FALSE,MATCH($D8,PayPeriod,1)-1,MATCH($D8,PayPeriod,1))),0))*IF($H$4=\"Hourly\",Setup!$C$11,1))","v":15},{"$f":"IF($L$3=0,0,IF(AND(ISBLANK($E8)=FALSE,$E8<$D$2),0,-SUMIFS(LeaveDays,LeaveDate,\">=\"&Start,LeaveDate,\"<=\"&$L$2,LeaveCode,$A8,LeavePmt,\"<>P\")))","v":-13},{"$f":"IF($L$3=0,0,IF(AND(ISBLANK($E8)=FALSE,$E8<$D$2),0,-SUMIFS(LeaveDays,LeaveDate,\">=\"&Start,LeaveDate,\"<=\"&$L$2,LeaveCode,$A8,LeavePmt,\"P\")))","v":0},2,{"$f":"IF($L$3=0,0,IF(M8<0,0,IF(Setup!$C$18=0,0,$F8*Setup!$C$31/Setup!$C$18/IF($H$4=\"Hourly\",Setup!$C$11,1)*$M8)))","v":803.18725099601591},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(O$4),MONTH(O$4),1),LeaveDate,\"<=\"&O$4,LeaveCode,$A8)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(P$4),MONTH(P$4),1),LeaveDate,\"<=\"&P$4,LeaveCode,$A8)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(Q$4),MONTH(Q$4),1),LeaveDate,\"<=\"&Q$4,LeaveCode,$A8)","v":9},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(R$4),MONTH(R$4),1),LeaveDate,\"<=\"&R$4,LeaveCode,$A8)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(S$4),MONTH(S$4),1),LeaveDate,\"<=\"&S$4,LeaveCode,$A8)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(T$4),MONTH(T$4),1),LeaveDate,\"<=\"&T$4,LeaveCode,$A8)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(U$4),MONTH(U$4),1),LeaveDate,\"<=\"&U$4,LeaveCode,$A8)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(V$4),MONTH(V$4),1),LeaveDate,\"<=\"&V$4,LeaveCode,$A8)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(W$4),MONTH(W$4),1),LeaveDate,\"<=\"&W$4,LeaveCode,$A8)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(X$4),MONTH(X$4),1),LeaveDate,\"<=\"&X$4,LeaveCode,$A8)","v":4},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(Y$4),MONTH(Y$4),1),LeaveDate,\"<=\"&Y$4,LeaveCode,$A8)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(Z$4),MONTH(Z$4),1),LeaveDate,\"<=\"&Z$4,LeaveCode,$A8)","v":0}]
[1035,"T Cook",2,"2021-07-01","2022-01-31",26000,0,1.25,{"$f":"IF($L$3=0,0,ROUND(H9*Setup!$C$31*Setup!$C$35,2))","v":15},{"$f":"IF(OR($L$3=0,$L$2<$D9,AND(ISBLANK($E9)=FALSE,$E9<$D$2)),0,I9/Setup!$C$31*MAX(0,IF(AND(ISBLANK(E9)=FALSE,E9<=$D$3),IF(ISNA(MATCH($E9,PayPeriod,1)),1,MIN($L$3,IF(ISNA(MATCH($E9,PayPeriod,0))=FALSE,MATCH($E9,PayPeriod,0),MATCH($E9,PayPeriod,1)+1))),$L$3)-IF(AND(D9>=$D$2,D9<=$D$3),IF(ISNA(MATCH($D9,PayPeriod,1)),0,IF(ISNA(MATCH($D9,PayPeriod,0))=FALSE,MATCH($D9,PayPeriod,1)-1,MATCH($D9,PayPeriod,1))),0))*IF($H$4=\"Hourly\",Setup!$C$11,1))","v":8.75},{"$f":"IF($L$3=0,0,IF(AND(ISBLANK($E9)=FALSE,$E9<$D$2),0,-SUMIFS(LeaveDays,LeaveDate,\">=\"&Start,LeaveDate,\"<=\"&$L$2,LeaveCode,$A9,LeavePmt,\"<>P\")))","v":-2},{"$f":"IF($L$3=0,0,IF(AND(ISBLANK($E9)=FALSE,$E9<$D$2),0,-SUMIFS(LeaveDays,LeaveDate,\">=\"&Start,LeaveDate,\"<=\"&$L$2,LeaveCode,$A9,LeavePmt,\"P\")))","v":-6.75},0,{"$f":"IF($L$3=0,0,IF(M9<0,0,IF(Setup!$C$18=0,0,$F9*Setup!$C$31/Setup!$C$18/IF($H$4=\"Hourly\",Setup!$C$11,1)*$M9)))","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(O$4),MONTH(O$4),1),LeaveDate,\"<=\"&O$4,LeaveCode,$A9)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(P$4),MONTH(P$4),1),LeaveDate,\"<=\"&P$4,LeaveCode,$A9)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(Q$4),MONTH(Q$4),1),LeaveDate,\"<=\"&Q$4,LeaveCode,$A9)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(R$4),MONTH(R$4),1),LeaveDate,\"<=\"&R$4,LeaveCode,$A9)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(S$4),MONTH(S$4),1),LeaveDate,\"<=\"&S$4,LeaveCode,$A9)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(T$4),MONTH(T$4),1),LeaveDate,\"<=\"&T$4,LeaveCode,$A9)","v":6.75},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(U$4),MONTH(U$4),1),LeaveDate,\"<=\"&U$4,LeaveCode,$A9)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(V$4),MONTH(V$4),1),LeaveDate,\"<=\"&V$4,LeaveCode,$A9)","v":2},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(W$4),MONTH(W$4),1),LeaveDate,\"<=\"&W$4,LeaveCode,$A9)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(X$4),MONTH(X$4),1),LeaveDate,\"<=\"&X$4,LeaveCode,$A9)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(Y$4),MONTH(Y$4),1),LeaveDate,\"<=\"&Y$4,LeaveCode,$A9)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(Z$4),MONTH(Z$4),1),LeaveDate,\"<=\"&Z$4,LeaveCode,$A9)","v":0}]
[1050,"W Clark",2,"2021-08-01",null,41000,0,2.0833333333333335,{"$f":"IF($L$3=0,0,ROUND(H10*Setup!$C$31*Setup!$C$35,2))","v":25},{"$f":"IF(OR($L$3=0,$L$2<$D10,AND(ISBLANK($E10)=FALSE,$E10<$D$2)),0,I10/Setup!$C$31*MAX(0,IF(AND(ISBLANK(E10)=FALSE,E10<=$D$3),IF(ISNA(MATCH($E10,PayPeriod,1)),1,MIN($L$3,IF(ISNA(MATCH($E10,PayPeriod,0))=FALSE,MATCH($E10,PayPeriod,0),MATCH($E10,PayPeriod,1)+1))),$L$3)-IF(AND(D10>=$D$2,D10<=$D$3),IF(ISNA(MATCH($D10,PayPeriod,1)),0,IF(ISNA(MATCH($D10,PayPeriod,0))=FALSE,MATCH($D10,PayPeriod,1)-1,MATCH($D10,PayPeriod,1))),0))*IF($H$4=\"Hourly\",Setup!$C$11,1))","v":14.583333333333334},{"$f":"IF($L$3=0,0,IF(AND(ISBLANK($E10)=FALSE,$E10<$D$2),0,-SUMIFS(LeaveDays,LeaveDate,\">=\"&Start,LeaveDate,\"<=\"&$L$2,LeaveCode,$A10,LeavePmt,\"<>P\")))","v":-15},{"$f":"IF($L$3=0,0,IF(AND(ISBLANK($E10)=FALSE,$E10<$D$2),0,-SUMIFS(LeaveDays,LeaveDate,\">=\"&Start,LeaveDate,\"<=\"&$L$2,LeaveCode,$A10,LeavePmt,\"P\")))","v":0},-0.41666666666666607,{"$f":"IF($L$3=0,0,IF(M10<0,0,IF(Setup!$C$18=0,0,$F10*Setup!$C$31/Setup!$C$18/IF($H$4=\"Hourly\",Setup!$C$11,1)*$M10)))","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(O$4),MONTH(O$4),1),LeaveDate,\"<=\"&O$4,LeaveCode,$A10)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(P$4),MONTH(P$4),1),LeaveDate,\"<=\"&P$4,LeaveCode,$A10)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(Q$4),MONTH(Q$4),1),LeaveDate,\"<=\"&Q$4,LeaveCode,$A10)","v":5},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(R$4),MONTH(R$4),1),LeaveDate,\"<=\"&R$4,LeaveCode,$A10)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(S$4),MONTH(S$4),1),LeaveDate,\"<=\"&S$4,LeaveCode,$A10)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(T$4),MONTH(T$4),1),LeaveDate,\"<=\"&T$4,LeaveCode,$A10)","v":10},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(U$4),MONTH(U$4),1),LeaveDate,\"<=\"&U$4,LeaveCode,$A10)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(V$4),MONTH(V$4),1),LeaveDate,\"<=\"&V$4,LeaveCode,$A10)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(W$4),MONTH(W$4),1),LeaveDate,\"<=\"&W$4,LeaveCode,$A10)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(X$4),MONTH(X$4),1),LeaveDate,\"<=\"&X$4,LeaveCode,$A10)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(Y$4),MONTH(Y$4),1),LeaveDate,\"<=\"&Y$4,LeaveCode,$A10)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(Z$4),MONTH(Z$4),1),LeaveDate,\"<=\"&Z$4,LeaveCode,$A10)","v":0}]
[1060,"J Brady",3,"2022-02-01",null,25000,0,1.25,{"$f":"IF($L$3=0,0,ROUND(H11*Setup!$C$31*Setup!$C$35,2))","v":15},{"$f":"IF(OR($L$3=0,$L$2<$D11,AND(ISBLANK($E11)=FALSE,$E11<$D$2)),0,I11/Setup!$C$31*MAX(0,IF(AND(ISBLANK(E11)=FALSE,E11<=$D$3),IF(ISNA(MATCH($E11,PayPeriod,1)),1,MIN($L$3,IF(ISNA(MATCH($E11,PayPeriod,0))=FALSE,MATCH($E11,PayPeriod,0),MATCH($E11,PayPeriod,1)+1))),$L$3)-IF(AND(D11>=$D$2,D11<=$D$3),IF(ISNA(MATCH($D11,PayPeriod,1)),0,IF(ISNA(MATCH($D11,PayPeriod,0))=FALSE,MATCH($D11,PayPeriod,1)-1,MATCH($D11,PayPeriod,1))),0))*IF($H$4=\"Hourly\",Setup!$C$11,1))","v":1.25},{"$f":"IF($L$3=0,0,IF(AND(ISBLANK($E11)=FALSE,$E11<$D$2),0,-SUMIFS(LeaveDays,LeaveDate,\">=\"&Start,LeaveDate,\"<=\"&$L$2,LeaveCode,$A11,LeavePmt,\"<>P\")))","v":0},{"$f":"IF($L$3=0,0,IF(AND(ISBLANK($E11)=FALSE,$E11<$D$2),0,-SUMIFS(LeaveDays,LeaveDate,\">=\"&Start,LeaveDate,\"<=\"&$L$2,LeaveCode,$A11,LeavePmt,\"P\")))","v":0},1.25,{"$f":"IF($L$3=0,0,IF(M11<0,0,IF(Setup!$C$18=0,0,$F11*Setup!$C$31/Setup!$C$18/IF($H$4=\"Hourly\",Setup!$C$11,1)*$M11)))","v":1494.0239043824702},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(O$4),MONTH(O$4),1),LeaveDate,\"<=\"&O$4,LeaveCode,$A11)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(P$4),MONTH(P$4),1),LeaveDate,\"<=\"&P$4,LeaveCode,$A11)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(Q$4),MONTH(Q$4),1),LeaveDate,\"<=\"&Q$4,LeaveCode,$A11)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(R$4),MONTH(R$4),1),LeaveDate,\"<=\"&R$4,LeaveCode,$A11)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(S$4),MONTH(S$4),1),LeaveDate,\"<=\"&S$4,LeaveCode,$A11)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(T$4),MONTH(T$4),1),LeaveDate,\"<=\"&T$4,LeaveCode,$A11)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(U$4),MONTH(U$4),1),LeaveDate,\"<=\"&U$4,LeaveCode,$A11)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(V$4),MONTH(V$4),1),LeaveDate,\"<=\"&V$4,LeaveCode,$A11)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(W$4),MONTH(W$4),1),LeaveDate,\"<=\"&W$4,LeaveCode,$A11)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(X$4),MONTH(X$4),1),LeaveDate,\"<=\"&X$4,LeaveCode,$A11)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(Y$4),MONTH(Y$4),1),LeaveDate,\"<=\"&Y$4,LeaveCode,$A11)","v":0},{"$f":"SUMIFS(LeaveDays,LeaveDate,\">=\"&DATE(YEAR(Z$4),MONTH(Z$4),1),LeaveDate,\"<=\"&Z$4,LeaveCode,$A11)","v":0}]